Skip to main content

Setup Access Credentials

Create a user for cli access

  1. Log in to the AWS Console
  2. Go to Identity and Access Management (IAM)
  3. Create a user for accessing AWS resources via aws-cli
  4. Create and Access Key for the user

Configure aws-cli

Install aws-cli on some terminal

Run the following command

aws configure

Enter the following information like so. The Default region name should match whatever you setup your account on. The Default output format can be set to json and probably xml or yaml.

AWS Access Key ID [None]: HUIOHFDJS3389HJKDFE
AWS Secret Access Key [None]: huifdnajkdsiHJKSDNFBkjnbfdjw
Default region name [None]: us-west-1
Default output format [None]: json

Wizard

aws configure wizard  can also be used to setup access credentials

What would you like to configure
> Static Credentials
  Assume Role
  Process Provider
  Additional CLI configuration
Enter the name of the profile: 
Enter your Access Key Id: 
Enter your Secret Access Key: