AWS - Credential

About

Credentials note for Aws

Management

List

aws configure list
      Name                    Value             Type    Location
      ----                    -----             ----    --------
   profile                <not set>             None    None
access_key     ****************ZFDU shared-credentials-file
secret_key     ****************pyJh shared-credentials-file
    region                Frankfurt      config-file    ~/.aws/config

Set

For the cli, Setup - To get the key, go to the IAM console > Users

aws configure
AWS Access Key ID [None]: AAAAAAAAAAAAAAAAAAAAAAAA
AWS Secret Access Key [None]: bbbbbbbbbbbbbbbbbbbbbbbbbbbb
Default region name [None]: eu-central-1
Default output format [None]: json

where:

It will create two config file:

  • ~\.aws\config
[default]
region = eu-central-1
output = json
  • and ~/.aws/credentials
[default]
aws_access_key_id = YOUR_ACCESS_KEY_ID
aws_secret_access_key = YOUR_SECRET_ACCESS_KEY

Documentation / Reference


Powered by ComboStrap