aws configure

From wikieduonline
Revision as of 09:26, 29 February 2024 by Welcome (talk | contribs) (→‎Variables)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/configure/index.html

Commands

aws configure --profile your-new-profile-name
aws configure add-model
   aws configure get
   aws configure set
     aws configure set cli_pager
   aws configure import
   aws configure list
   aws configure list-profiles
   aws configure sso
   aws configure sso-session
   aws configure export-credentials

Examples

Variables

AWS_ACCESS_KEY_ID 
AWS_SECRET_ACCESS_KEY
AWS_SESSION_TOKEN

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

Error

Related terms

See also

Advertising: