AWS - Credential

> AWS (Amazon Web Services)

1 - About

Credentials note for Aws

Advertising

3 - Management

3.1 - 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

3.2 - 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
~\.aws\config
[default]
region = eu-central-1
output = json
  • and ~/.aws/credentials
~/.aws/credentials
[default]
aws_access_key_id = YOUR_ACCESS_KEY_ID
aws_secret_access_key = YOUR_SECRET_ACCESS_KEY
Advertising

4 - Documentation / Reference