Member-only story

Configure AWS CLI — Windows

Jorge Freitas
2 min readDec 25, 2020

--

Set Up the AWS Command Line

1 — Download the AWS CLI MSI installer

2 — Run the installer

3 — Open command line and type: aws --version

4 — Add a named profile

  • Open CLI and type: aws configure
  • For the AWS Access Key ID
  • Go to AWS Console and then My Security Credentials
My Security Credentials
  • Go to Access keys (access key ID and secret access key) and then Create New Access Key
  • Go back to CLI
  • Set AWS Access Key ID
  • Set AWS Secret Access Key
  • Set a Default region name: I will set Irland (eu-west-1)
  • Default output format: json

That’s it, you have configured your default CLI profile. If you do not specify a profile this will be used by default

Multiple accounts

--

--

No responses yet