configure AWS responsibly using profile names.
configure AWS responsibly using profile names and environment vars.
rather than changing your AWS SDK credentials with
aws configure, AWS suggests
setting the ENV var AWS_DEFAULT_PROFILE to a [profile] in your ~/.aws/credentials.
when set, this ENV var will over-ride the profile set with
caws will write to an rc file setting AWS_DEFAULT_PROFILE to the given profile name.
if you do not have the rc file caws will create it for you.
you'll need to add
. .cawsrc to your RC file (using bash: .bashrc or .bash_profile)
add new profiles using
$ aws configure --profile newname
one benefit of using AWS_DEFAULT_PROFILE method instead of
aws configure is the
ability to add which AWS profile you're currently using to your command prompt.
$ caws profilename
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.