- Create folder
~/.aws
- Add
~/.aws/credentials
- Add
~/.aws/config
- put
export AWS_PROFILE=myprofile
in~/.bashrc
or~/.zshrc
Created
November 18, 2019 16:18
-
-
Save buddylindsey/ad460de1a6e811c6872ce3c417529547 to your computer and use it in GitHub Desktop.
AWS cli Profile Config
This file contains 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
[profile myprofile] | |
region=us-east-2 | |
[profile amplify-test] | |
region=us-east-1 |
This file contains 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
[local] | |
aws_access_key_id=local | |
aws_secret_access_key=local | |
[myprofile] | |
aws_access_key_id=bleh | |
aws_secret_access_key=blah |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment