{"action":"created","issue":{"url":"https://api.github.com/repos/concourse/s3-resource/issues/37","repository_url":"https://api.github.com/repos/concourse/s3-resource","labels_url":"https://api.github.com/repos/concourse/s3-resource/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/concourse/s3-resource/issues/37/comments","events_url":"https://api.github.com/repos/concourse/s3-resource/issues/37/events","html_url":"https://github.com/concourse/s3-resource/issues/37","id":159195002,"number":37,"title":"Support EC2 IAM Role SessionToken","user":{"login":"mweagle","id":404458,"avatar_url":"https://avatars.githubusercontent.com/u/404458?v=3","gravatar_id":"","url":"https://api.github.com/users/mweagle","html_url":"https://github.com/mweagle","followers_url":"https://api.github.com/users/mweagle/followers","following_url":"https://api.github.com/users/mweagle/following{/other_user}","gists_url":"https://api.github.com/users/mweagle/gists{/gist_id}","starred_url":"https://api.github.com/users/mweagle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mweagle/subscriptions","organizations_url":"https://api.github.com/users/mweagle/orgs","repos_url":"https://api.github.com/users/mweagle/repos","events_url":"https://api.github.com/users/mweagle/events{/privacy}","received_events_url":"https://api.github.com/users/mweagle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/concourse/s3-resource/labels/in-flight","name":"in-flight","color":"f3f3d1"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-08T15:33:34Z","updated_at":"2016-07-08T17:19:55Z","closed_at":null,"body":"I'm using IAM Roles for EC2 security credentials. In trying to use the `S3` resource, it looks as though the [SessionToken](http://docs.aws.amazon.com/sdk-for-go/api/aws/credentials.html) must also be set.  Just using the _AccessKeyID_ and _SecretAccessKey_ values results in an error.\r\n\r\nI didn't see a way to provide the SessionToken to [NewStaticCredentials](https://github.com/concourse/s3-resource/blob/master/s3client.go#L70). \r\n\r\nRelated: https://github.com/concourse/semver-resource/issues/16"},"comment":{"url":"https://api.github.com/repos/concourse/s3-resource/issues/comments/231419202","html_url":"https://github.com/concourse/s3-resource/issues/37#issuecomment-231419202","issue_url":"https://api.github.com/repos/concourse/s3-resource/issues/37","id":231419202,"user":{"login":"mweagle","id":404458,"avatar_url":"https://avatars.githubusercontent.com/u/404458?v=3","gravatar_id":"","url":"https://api.github.com/users/mweagle","html_url":"https://github.com/mweagle","followers_url":"https://api.github.com/users/mweagle/followers","following_url":"https://api.github.com/users/mweagle/following{/other_user}","gists_url":"https://api.github.com/users/mweagle/gists{/gist_id}","starred_url":"https://api.github.com/users/mweagle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mweagle/subscriptions","organizations_url":"https://api.github.com/users/mweagle/orgs","repos_url":"https://api.github.com/users/mweagle/repos","events_url":"https://api.github.com/users/mweagle/events{/privacy}","received_events_url":"https://api.github.com/users/mweagle/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T17:19:54Z","updated_at":"2016-07-08T17:19:54Z","body":"Hi @vito - I agree that using something like Vault would be a good way to standardize key management. Would this be transparent to me as an AWS IAM Role user, or an additional piece of infrastructure I'd need to manage?  Thanks for the follow up."}}
{"actor":{"display_login":"mweagle"}}