How to add permissions to AWS resources using AWS CLI on Windows client

Jump to navigation Jump to search

Creating IAM user

  • Login to the IAM console:
  • From the left pane, click on Users -> click on “Add user” -> specify the user name -> access type: “Programmatic access” -> do not select “AWS Management Console access” -> click “Next: Permissions”
  • From the “add user to group”, either select existing group or click on “Create group” -> click “Next: Review” -> click on “Create user”
  • Download the CSV file with the “Access key ID” and “Secret access key” and save the CSV file in a secure location
  • Click Close

Install the AWS CLI

  • Login to the Windows client
  • Follow the instructions below on how to download and install the AWS CLI tools:

Configuring AWS CLI credentials on the Windows client

  • Run the command below from CLI:
aws configure
  • Fill in the following details:
  • AWS Access Key ID – specify here the access key ID from the CSV file
  • AWS Secret Access Key – specify here the secret access key
  • Region – specify here the default region close to your location (for example eu-west-1)