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.
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 theAWS_PROFILE
orAWS_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