Difference between revisions of "Aws configure"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
* <code>[[aws configure --profile my-read-only]]</code> | * <code>[[aws configure --profile my-read-only]]</code> | ||
* <code>[[aws configure list-profiles]]</code> (<code>aws</code> >= 2.x) | * <code>[[aws configure list-profiles]]</code> (<code>aws</code> >= 2.x) | ||
+ | * <code>[[aws configure list]]</code> | ||
* <code>[[aws configure sso]]</code> | * <code>[[aws configure sso]]</code> | ||
* <code>[[aws configure set]] [[cli_pager]] ""</code> | * <code>[[aws configure set]] [[cli_pager]] ""</code> |
Revision as of 13:31, 22 June 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 list
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
- Config files:
.aws/config
,.aws/credentials
aws configure list
aws iam list-users
,aws iam get-user
export AWS_PROFILE=your_defined_profile
suaws
bash functionRegion (AWS)
ca_bundle
- Unable to locate credentials
ecs-cli configure
See also
- AWS CLI: environmental variables,
aws configure, ~/.aws/config
,~/.aws/credentials
,~/.aws/cli/alias, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
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
Advertising: