{"action":"closed","issue":{"url":"https://api.github.com/repos/chef/chef-vault/issues/199","repository_url":"https://api.github.com/repos/chef/chef-vault","labels_url":"https://api.github.com/repos/chef/chef-vault/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef-vault/issues/199/comments","events_url":"https://api.github.com/repos/chef/chef-vault/issues/199/events","html_url":"https://github.com/chef/chef-vault/issues/199","id":132475440,"number":199,"title":"add user key to vault ","user":{"login":"pjohnson-ptc","id":7308398,"avatar_url":"https://avatars.githubusercontent.com/u/7308398?v=3","gravatar_id":"","url":"https://api.github.com/users/pjohnson-ptc","html_url":"https://github.com/pjohnson-ptc","followers_url":"https://api.github.com/users/pjohnson-ptc/followers","following_url":"https://api.github.com/users/pjohnson-ptc/following{/other_user}","gists_url":"https://api.github.com/users/pjohnson-ptc/gists{/gist_id}","starred_url":"https://api.github.com/users/pjohnson-ptc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjohnson-ptc/subscriptions","organizations_url":"https://api.github.com/users/pjohnson-ptc/orgs","repos_url":"https://api.github.com/users/pjohnson-ptc/repos","events_url":"https://api.github.com/users/pjohnson-ptc/events{/privacy}","received_events_url":"https://api.github.com/users/pjohnson-ptc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-09T17:07:04Z","updated_at":"2016-03-11T15:53:46Z","closed_at":"2016-03-11T15:53:46Z","body":"Can the documentation be updated to show a clear example of how to \"update\" a vault to add a existing user to the keys file for a encrypted vault?  This is not extremely clear at all.\r\n\r\nIf a vault is created by user-1 can't user-2 be added to the vault to avoid this error:\r\n[2016-02-08T14:55:20-08:00] FATAL: ChefVault::Exceptions::SecretDecryption: integration/passwords is not encrypted with\r\nyour public key.  Contact an administrator of the vault item to encrypt for you!\r\n\r\n\r\nI realize this can be avoided by adding the \"search tag\" to the node and then having the original vault creator run the \"vault refresh\", but ideally we would not have to do this on a per-node basis. \r\n\r\n"}}