Difference between revisions of "$HOME/.aws/credentials"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
[default] | [default] | ||
+ | [[aws_access_key_id]]= | ||
+ | [[aws_secret_access_key]]= | ||
+ | [[aws_session_token]]= | ||
+ | |||
+ | |||
+ | [your-second-profile] | ||
[[aws_access_key_id]]= | [[aws_access_key_id]]= | ||
[[aws_secret_access_key]]= | [[aws_secret_access_key]]= |
Revision as of 17:52, 7 September 2022
$HOME/.aws/credentials cat $HOME/.aws/credentials
[default] aws_access_key_id= aws_secret_access_key= aws_session_token=
[your-second-profile] aws_access_key_id= aws_secret_access_key= aws_session_token=
Related terms
aws configure
export AWS_PROFILE=your_defined_profile
aws iam
.aws/config
~/.aws/cli/alias
aws sts get-session-token
An error occurred (AccessDenied) when calling the ListBuckets operation: Access Denied
See also
- AWS CLI: environmental variables,
aws configure, ~/.aws/config
,~/.aws/credentials
,~/.aws/cli/alias, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
- AWS CLI,
aws
[configure
|iam
|ec2
|ecs
|eks
|s3
|rds
|sts
|cloudwatch
|cloudformation
|cloudfront
|eventbridge
|lambda
],aws configure list
,.aws/credentials
,.aws/config
,~/.aws/cli/alias
,--output [ table | json | text | XXX ]
, Aws cli environmental variables:AWS_PROFILE
,AWS_DEFAULT_REGION, AWS_REGION
,AWS_CLI_AUTO_PROMPT
,AWS_SESSION_TOKEN
,aws list all
,auto-prompt
,--version
,whoamiaws, --filters, --help
Advertising: