Difference between revisions of "$HOME/.aws/credentials"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
[[aws_secret_access_key]]= | [[aws_secret_access_key]]= | ||
[[aws_session_token]]= | [[aws_session_token]]= | ||
+ | |||
+ | == Errors == | ||
+ | * <code>[[An error occurred (AccessDenied) when calling the ListBuckets operation: Access Denied]]</code> | ||
== Related terms == | == Related terms == | ||
* <code>[[aws configure]]</code> | * <code>[[aws configure]]</code> | ||
+ | * <code>[[aws configure set]]</code> | ||
* <code>export [[AWS_PROFILE]]=your_defined_profile</code> | * <code>export [[AWS_PROFILE]]=your_defined_profile</code> | ||
* <code>[[aws iam]]</code> | * <code>[[aws iam]]</code> | ||
Line 20: | Line 24: | ||
* <code>[[~/.aws/cli/alias]]</code> | * <code>[[~/.aws/cli/alias]]</code> | ||
* [[AWS STS]]: <code>[[aws sts get-session-token]]</code> | * [[AWS STS]]: <code>[[aws sts get-session-token]]</code> | ||
− | + | * [[AWS cli environmental variables]]: <code>[[AWS_ACCESS_KEY_ID]], [[AWS_SECRET_ACCESS_KEY]], [[AWS_SESSION_TOKEN]]</code> | |
− | * [[AWS cli environmental variables]]: [[AWS_ACCESS_KEY_ID]], [[AWS_SECRET_ACCESS_KEY]], [[AWS_SESSION_TOKEN]] | ||
== See also == | == See also == |
Latest revision as of 10:25, 3 September 2023
~/.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=
Errors[edit]
Related terms[edit]
aws configure
aws configure set
export AWS_PROFILE=your_defined_profile
aws iam
.aws/config
~/.aws/cli/alias
- AWS STS:
aws sts get-session-token
- AWS cli environmental variables:
AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN
See also[edit]
- 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: