Created
July 24, 2020 13:08
-
-
Save sd031/5c7b6fbbef7a4d84abd7fcfedf44726a to your computer and use it in GitHub Desktop.
This file contains hidden or 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 project_name_1 | |
$ aws configure --profile project_name_2 | |
or can edit the : ~/.aws/credentials file directly | |
and when doing any service call, mention profile name at the end like this: | |
aws s3 ls --profile project_name_1 | |
If you are going to work on a particular project for long and will not make any switches, it's better to set the profile as default: | |
e.g. export AWS_DEFAULT_PROFILE=project_name_2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment