Created
April 15, 2017 17:42
-
-
Save engmsaleh/f40c644becf7d8bc5a465152f6460080 to your computer and use it in GitHub Desktop.
Add new IAM user profile to AWS CLI
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
$ aws configure --profile account1 | |
// To use the profile | |
$ aws s3 ls --profile account2 | |
// To set the default profile | |
$ export AWS_DEFAULT_PROFILE=account1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment