{"action":"closed","issue":{"url":"https://api.github.com/repos/Nordstrom/chef-vault/issues/147","labels_url":"https://api.github.com/repos/Nordstrom/chef-vault/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/Nordstrom/chef-vault/issues/147/comments","events_url":"https://api.github.com/repos/Nordstrom/chef-vault/issues/147/events","html_url":"https://github.com/Nordstrom/chef-vault/issues/147","id":62774200,"number":147,"title":"How do I automatically add a new client/node with cloudformation or auto scaling?","user":{"login":"akshah123","id":2294368,"avatar_url":"https://avatars.githubusercontent.com/u/2294368?v=3","gravatar_id":"","url":"https://api.github.com/users/akshah123","html_url":"https://github.com/akshah123","followers_url":"https://api.github.com/users/akshah123/followers","following_url":"https://api.github.com/users/akshah123/following{/other_user}","gists_url":"https://api.github.com/users/akshah123/gists{/gist_id}","starred_url":"https://api.github.com/users/akshah123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akshah123/subscriptions","organizations_url":"https://api.github.com/users/akshah123/orgs","repos_url":"https://api.github.com/users/akshah123/repos","events_url":"https://api.github.com/users/akshah123/events{/privacy}","received_events_url":"https://api.github.com/users/akshah123/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Nordstrom/chef-vault/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-18T19:05:00Z","updated_at":"2015-03-18T20:45:00Z","closed_at":"2015-03-18T20:45:00Z","body":"Hi,\r\n\r\nI apologize in advance for creating an issue for a question but I don't know how else to reach out about this.\r\n\r\nI have aws cloud formation setup that creates an instance which would need access to the secrets.  However, my recipe fails with message \"ERROR: {my key} is not encrypted with your public key.  Contact an administrator of the vault item to encrypt for you!\"\r\n\r\nIt fails because the node/client for the new instance doesn't have access to it. However, I can't give it access before its created.  How do I get around this problem where new chef clients/nodes are created on demand without a manual intervention?\r\n\r\nThanks."}}