AWS CLI
How to switch profiles for AWS CLI
Let's say that you have multiple profiles in ~/.aws/credentials
. (default
for work and personal
for personal use.)
We want to use AWS CLI with our personal
profile. How do we do that?
Well, the solution is to simply export AWS_PROFILE
in your terminal.
Going back to default
is also easy.
Credits
Last updated