Created
November 26, 2013 03:17
-
-
Save tkuchiki/7652978 to your computer and use it in GitHub Desktop.
aws-cli
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# default path : ~/.aws/config | |
[default] | |
aws_access_key_id=<default access key> | |
aws_secret_access_key=<default secret key> | |
# Optional, to define default region for this profile. | |
region=ap-northeast-1 | |
[profile testing] | |
aws_access_key_id=<testing access key> | |
aws_secret_access_key=<testing secret key> | |
region=us-west-1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export AWS_CONFIG_FILE=/path/to/config_file | |
# --region | |
export AWS_DEFAULT_REGION=ap-northeast-1 | |
# --profile | |
export AWS_DEFAULT_PROFILE=testing | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment