--
// Here, aws comes from installing awscli.
# aws configure --profile=<your_profile_name>
This will update the files at ~/.aws/config and ~/.aws/credentials
You can inspect the contents of the above files to verify.
--
You can simply run below to set credentials
# export AWS_PROFILE=<your_profile_name>
--
Verify above configuration using
# aws iam get-user
--
No comments:
Post a Comment