Last active
July 4, 2019 20:56
-
-
Save ccabanero/8f7f812ee58d6c217f76c11e8c8b2111 to your computer and use it in GitHub Desktop.
AWS CLI Cheat Sheet
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
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