Skip to content

Instantly share code, notes, and snippets.

@wmakeev
Last active August 19, 2016 13:16
Show Gist options
  • Save wmakeev/dd86c5c3176b924941c37b85a577bc2c to your computer and use it in GitHub Desktop.
Save wmakeev/dd86c5c3176b924941c37b85a577bc2c to your computer and use it in GitHub Desktop.
AWS #aws #s3 #cli

The following variables are supported by the AWS CLI

AWS_ACCESS_KEY_ID – AWS access key.

AWS_SECRET_ACCESS_KEY – AWS secret key. Access and secret key variables override credentials stored in credential and config files.

AWS_SESSION_TOKEN – session token. A session token is only required if you are using temporary security credentials.

AWS_DEFAULT_REGION – AWS region. This variable overrides the default region of the in-use profile, if set.

AWS_DEFAULT_PROFILE – name of the CLI profile to use. This can be the name of a profile stored in a credential or config file, or default to use the default profile.

AWS_CONFIG_FILE – path to a CLI config file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment