Skip to content

Instantly share code, notes, and snippets.

@engmsaleh
Created April 15, 2017 17:42
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 engmsaleh/f40c644becf7d8bc5a465152f6460080 to your computer and use it in GitHub Desktop.
Save engmsaleh/f40c644becf7d8bc5a465152f6460080 to your computer and use it in GitHub Desktop.
Add new IAM user profile to AWS CLI
$ 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