Skip to content

Instantly share code, notes, and snippets.

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