Skip to content

Instantly share code, notes, and snippets.

@ccabanero
Last active July 4, 2019 20:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ccabanero/8f7f812ee58d6c217f76c11e8c8b2111 to your computer and use it in GitHub Desktop.
Save ccabanero/8f7f812ee58d6c217f76c11e8c8b2111 to your computer and use it in GitHub Desktop.
AWS CLI Cheat Sheet
See Profiles Configured on Machine:
$ vim ~/.aws/config
$ vim ~/.aws/credentials
Create profile
$ aws configure --profile YourProfileName1
$ aws configure --profile YourProfileName2
Use Profile Per Command:
$ aws s3 sl s3:something --profile YourProfileName
User Profile For all
$ export AWS_PROFILE=YouProfileName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment