{"action":"created","issue":{"url":"https://api.github.com/repos/brendanhay/amazonka/issues/231","labels_url":"https://api.github.com/repos/brendanhay/amazonka/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/brendanhay/amazonka/issues/231/comments","events_url":"https://api.github.com/repos/brendanhay/amazonka/issues/231/events","html_url":"https://github.com/brendanhay/amazonka/issues/231","id":110090359,"number":231,"title":"Support for reading from EC2 meta-data?","user":{"login":"greglearns","id":4944698,"avatar_url":"https://avatars.githubusercontent.com/u/4944698?v=3","gravatar_id":"","url":"https://api.github.com/users/greglearns","html_url":"https://github.com/greglearns","followers_url":"https://api.github.com/users/greglearns/followers","following_url":"https://api.github.com/users/greglearns/following{/other_user}","gists_url":"https://api.github.com/users/greglearns/gists{/gist_id}","starred_url":"https://api.github.com/users/greglearns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greglearns/subscriptions","organizations_url":"https://api.github.com/users/greglearns/orgs","repos_url":"https://api.github.com/users/greglearns/repos","events_url":"https://api.github.com/users/greglearns/events{/privacy}","received_events_url":"https://api.github.com/users/greglearns/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-06T20:11:01Z","updated_at":"2015-10-07T08:32:05Z","closed_at":"2015-10-07T08:32:04Z","body":"Does Amazonka support reading credential data from meta-data if it is launched on an EC2 instance? (For background and details: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html).\r\n\r\nThis blog entry talks about how, if code is launched on a EC2 instance, the credentials can be read from the instance's meta-data (because, the credentials are rotated every few hours): \r\n\r\nhttp://blogs.aws.amazon.com/security/post/Tx3D6U6WSFGOK2H/A-New-and-Standardized-Way-to-Manage-Credentials-in-the-AWS-SDKs\r\n\r\n```\r\nIf the code is running on an EC2 instance, via an IAM role for Amazon EC2. In that case,\r\nthe code gets temporary security credentials from the instance metadata service;\r\nthe credentials have the permissions derived from the role that is associated with the instance.\r\n```\r\n\r\nAmazonka looks amazing. I'm looking forward to using it (as a Haskell noob) :-)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/brendanhay/amazonka/issues/comments/146116247","html_url":"https://github.com/brendanhay/amazonka/issues/231#issuecomment-146116247","issue_url":"https://api.github.com/repos/brendanhay/amazonka/issues/231","id":146116247,"user":{"login":"brendanhay","id":4493,"avatar_url":"https://avatars.githubusercontent.com/u/4493?v=3","gravatar_id":"","url":"https://api.github.com/users/brendanhay","html_url":"https://github.com/brendanhay","followers_url":"https://api.github.com/users/brendanhay/followers","following_url":"https://api.github.com/users/brendanhay/following{/other_user}","gists_url":"https://api.github.com/users/brendanhay/gists{/gist_id}","starred_url":"https://api.github.com/users/brendanhay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendanhay/subscriptions","organizations_url":"https://api.github.com/users/brendanhay/orgs","repos_url":"https://api.github.com/users/brendanhay/repos","events_url":"https://api.github.com/users/brendanhay/events{/privacy}","received_events_url":"https://api.github.com/users/brendanhay/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T08:32:04Z","updated_at":"2015-10-07T08:32:04Z","body":"I'll close this for now. If you have more questions feel free to re-open or create a new issue, you can also use the [Gitter chat](gitter.im/brendanhay/amazonka)."}}