AWS
AWS (Amazon Web Services) is a ubiquitous cloud service provider. It's used by everyone, ever.
Configuring
Authenticating
Authentication is done using their IAM tokens.
credentials
file
It's generally best practice to manage your local machine credentials under a profile in a credentials
file.
~/.aws/credentials
[personal]
aws_access_key_id=AKIAIOSFODNN7EXAMPLE
aws_secret_access_key=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
[professional]
aws_access_key_id=AKIAIOSFODNN7EXAMPLE
aws_secret_access_key=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
You'll want your profiles to be named something better.
After configuring this, use:
shell
aws --profile <your-profile>
to authenticate with the given profile.
If there's a build tool which needs it, the variable is:
shell
export AWS_PROFILE=<your-profile>