05-03 Access Keys
Access Keys (aka AWS Credentials) is a key and secret required to have programmatic access to AWS resources when interacting with the AWS API outside of the AWS Management Console.
Note
A user must be granted access to use Access Keys
# Important Notes:
- Never share your access keys
- Never commit access keys to a codebase
- You can have two active Access Keys
- You can deactivate Access Keys
- Access Keys have whatever access a user has to AWS resources.
Access Keys are to be store in ~/.aws/credentials
and follow a TOML file format
|
|
- Default will be the access key used when no profile is specified.
- You can store multiple access keys by giving the profile names. ex. exampro
|
|
- You can use the aws configure CLI command to populate the credential file.
|
|
- The AWS SDK will automatically read from these environment variables
- This is the safe way of using an Access Key in your code.