Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Support for credentials profiles #14

Closed
kimpepper opened this issue Apr 8, 2015 · 3 comments
Closed

Support for credentials profiles #14

kimpepper opened this issue Apr 8, 2015 · 3 comments

Comments

@kimpepper
Copy link

The AWS SDK provides the ability to load credentials from a ~/.aws/credentials file. This provides a more standard approach than the currently recommended method in the README.md

http://docs.aws.amazon.com/AWSSdkDocsRuby/latest//DeveloperGuide/set-up-creds.html

@benesch
Copy link
Contributor

benesch commented Apr 16, 2015

I'm fairly certain that if you don't have AWS_ACCESS_KEY_ID set in your environment but you do have a default profile in ~/.aws/credentials, those credentials will automatically be loaded. Is this not the case? (If not, ping me and I'll dig in.)

Either way we can definitely add a note to the documentation.

@benesch
Copy link
Contributor

benesch commented Apr 16, 2015

And you should be able to choose a profile by setting AWS_PROFILE. I'll leave this open until I can verify this behavior works and add a note to the README. (Any chance you'd be able to submit a documentation update PR?)

@benesch
Copy link
Contributor

benesch commented Apr 30, 2015

Confirmed that this works. I'll update the documentation and error messages.

benesch added a commit that referenced this issue Apr 30, 2015
Per @kimpepper's recommendation, recommend the use of the standard AWS
SDK credential file in our documentation and missing_credentials error
message. Fix #14.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants