codahale / sneaker

A tool for securely storing secrets on S3 using Amazon KMS.
Other
800 stars 34 forks source link

Update README and Help/Usage - AWS_REGION for EC2 Instance Profiles #5

Closed ccannell67 closed 9 years ago

ccannell67 commented 9 years ago

With the recent move to the go aws sdk, sneaker will fail on EC2 Instances using only Instance profiles with: -bash-4.1$ sneaker ls 2015/04/30 23:28:08 could not find region configuration.

bash-4.1$ export AWS_REGION="us-east-1" bash-4.1$ sneaker ls key modified size etag testsecret/ 2015-04-30T20:21 -224 XXXXXXXXXXXX

codahale commented 9 years ago

Thanks for bringing this up. I went with some different text, in part because detecting the region is really the responsibility of go-aws-sdk. They have an open issue for metadata resolution, which I think is the best long-term solution.