{"action":"created","issue":{"url":"https://api.github.com/repos/mediadepot/chef-depot/issues/18","labels_url":"https://api.github.com/repos/mediadepot/chef-depot/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/mediadepot/chef-depot/issues/18/comments","events_url":"https://api.github.com/repos/mediadepot/chef-depot/issues/18/events","html_url":"https://github.com/mediadepot/chef-depot/issues/18","id":120601608,"number":18,"title":"check if its possible to use dynamically allocated API keys for events and such","user":{"login":"AnalogJ","id":891875,"avatar_url":"https://avatars.githubusercontent.com/u/891875?v=3","gravatar_id":"","url":"https://api.github.com/users/AnalogJ","html_url":"https://github.com/AnalogJ","followers_url":"https://api.github.com/users/AnalogJ/followers","following_url":"https://api.github.com/users/AnalogJ/following{/other_user}","gists_url":"https://api.github.com/users/AnalogJ/gists{/gist_id}","starred_url":"https://api.github.com/users/AnalogJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnalogJ/subscriptions","organizations_url":"https://api.github.com/users/AnalogJ/orgs","repos_url":"https://api.github.com/users/AnalogJ/repos","events_url":"https://api.github.com/users/AnalogJ/events{/privacy}","received_events_url":"https://api.github.com/users/AnalogJ/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-06T01:53:33Z","updated_at":"2015-12-10T00:52:39Z","closed_at":"2015-12-10T00:52:39Z","body":"\r\nThis is awesome! There's an undocumented feature of Rancher that will make it a bit easier to deploy these types of services. Just put the labels\r\n\r\nlabels:\r\n  io.rancher.container.create_agent: true\r\n  io.rancher.container.agent.role: environment\r\nWhat this will do is when you deploy your container we will create an API key for the container and set it as env vars CATTLE_URL, CATTLE_ACCESS_KEY, and CATTLE_SECRET_KEY. Now that I write this I realize those should probably be RANCHER_*. I'll change that at some point...\r\n\r\nBut honestly we've been having fun writing little utilities similar to this. I'm glad to see others doing it.\r\n\r\n\r\n\r\nhttp://forums.rancher.com/t/alarms-in-rancher/930"},"comment":{"url":"https://api.github.com/repos/mediadepot/chef-depot/issues/comments/163451827","html_url":"https://github.com/mediadepot/chef-depot/issues/18#issuecomment-163451827","issue_url":"https://api.github.com/repos/mediadepot/chef-depot/issues/18","id":163451827,"user":{"login":"AnalogJ","id":891875,"avatar_url":"https://avatars.githubusercontent.com/u/891875?v=3","gravatar_id":"","url":"https://api.github.com/users/AnalogJ","html_url":"https://github.com/AnalogJ","followers_url":"https://api.github.com/users/AnalogJ/followers","following_url":"https://api.github.com/users/AnalogJ/following{/other_user}","gists_url":"https://api.github.com/users/AnalogJ/gists{/gist_id}","starred_url":"https://api.github.com/users/AnalogJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnalogJ/subscriptions","organizations_url":"https://api.github.com/users/AnalogJ/orgs","repos_url":"https://api.github.com/users/AnalogJ/repos","events_url":"https://api.github.com/users/AnalogJ/events{/privacy}","received_events_url":"https://api.github.com/users/AnalogJ/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T00:52:39Z","updated_at":"2015-12-10T00:52:39Z","body":"this is working on rancher-events container. "}}