How do I install AWS Credentials?

This guide is intended to get you up and running with this tool quickly with the most common settings. For a thorough review of all options, refer to the official documentation.

In this section you will learn how to generate and configure Access keys. Access keys consist of an access key ID and secret access key, which are used to sign programmatic requests that you make to AWS.

What should I do before generating AWS Access keys?

Install the AWS CLI on your machine using the install guide .

How do I generate AWS Access keys (access key ID and secret access key)?

Go to My Security Credentials

Image Alt Text:aws1

On Your Security Credentials page click on Create access key

Image Alt Text:aws2 Access keys

Copy the Access key ID and Secret access key

Image Alt Text:aws3 Copy keys

Configure the AWS CLI

Run the following command to set up your AWS CLI:


            aws configure

The output from the command will be similar to:


        $ aws configure
AWS Access Key ID [****************OAGK]: AXXXXXXXXXXXXXXXXXXX
AWS Secret Access Key [****************t3iE]: uXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Default region name [us-east-2]: us-east-2
Default output format [json]: json


Replace the value of Access Key ID, Secret Access Key, region name and output format with your unique values.

After a successful configuration, you will be able to use the AWS CLI and automation tools like Terraform from the terminal.


How would you rate the overall quality of this tool quick-install guide?