Difference between revisions of "Aws configure"
Jump to navigation
Jump to search
Line 26: | Line 26: | ||
* <code>[[suaws]]</code> bash function | * <code>[[suaws]]</code> bash function | ||
* <code>[[Region (AWS)]]</code> | * <code>[[Region (AWS)]]</code> | ||
+ | * [[ca_bundle]] | ||
== See also == | == See also == |
Revision as of 18:27, 28 January 2022
aws configure
aws configure --profile your-new-profile-name
aws configure --profile my-read-only
aws configure list-profiles
(aws
>= 2.x)aws configure sso
aws configure set cli_pager ""
aws configure get
Example
aws configure AWS Access Key ID [None]: YOUR_accesskey AWS Secret Access Key [None]: YOUR_secretkey Default region name [None]: us-west-2 Default output format [None]:
aws configure
command will create ~/.aws/config
and ~/.aws/credentials
files
Related terms
aws configure list
aws iam list-users
,aws iam get-user
.aws/config
,.aws/credentials
export AWS_PROFILE=your_defined_profile
suaws
bash functionRegion (AWS)
- ca_bundle
See also
aws configure [ list-profiles | sso | sso-session | set ]
,~/.aws/config
,.aws/credentials
,mfa_serial
, AWS cli environmental variables:AWS_PROFILE
,AWS_REGION, AWS_DEFAULT_REGION, AWS_SESSION_TOKEN, AWS_ROLE_SESSION_NAME
,.aws/
, AWS functions,--profile, viawsconfig, viawscredentials
- 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: