goamz icon indicating copy to clipboard operation
goamz copied to clipboard

Use profiles when selecting credentials from ~/.aws/credentials

Open leedm777 opened this issue 10 years ago • 1 comments
trafficstars

AWS tooling which reads credentials from ~/.aws/credentials also supports profile selection. This allows folks with multiple AWS accounts to select which account credentials they wish to use for particular tasks. This is usually specified by either configuration, with with the AWS_PROFILE or AWS_DEFAULT_PROFILE environment variables.

See http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-multiple-profiles

re: docker/distribution#1041

leedm777 avatar Oct 22 '15 21:10 leedm777

This appears to have been fixed in https://github.com/AdRoll/goamz/commit/677007167a3af6dcee5965751384b7e268c584ac.

0xmohit avatar Oct 14 '16 06:10 0xmohit