Difference between revisions of "Aws configure"

From wikieduonline
Jump to navigation Jump to search
Line 41: Line 41:
 
* <code>[[Region (AWS)]]</code>
 
* <code>[[Region (AWS)]]</code>
 
* <code>[[ca_bundle]]</code>
 
* <code>[[ca_bundle]]</code>
* [[Unable to locate credentials]]
+
* <code>[[Unable to locate credentials]]</code>
 
* <code>[[ecs-cli configure]]</code>
 
* <code>[[ecs-cli configure]]</code>
 
  [[AWS_ACCESS_KEY_ID]]  
 
  [[AWS_ACCESS_KEY_ID]]  

Revision as of 13:03, 2 February 2023

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 import
   aws configure list
   aws configure list-profiles
   aws configure sso
   aws configure sso-session
   aws configure export-credentials

Examples

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_ACCESS_KEY_ID 
AWS_SESSION_TOKEN

See also

Advertising: