AWS

AWS CLI

Summary

The AWS Command Line Interface (AWS CLI) is an open source tool that enables you to interact with AWS services using commands in your command-line shell. With minimal configuration, the AWS CLI enables you to start running commands that implement functionality equivalent to that provided by the browser-based AWS Management Console from the command prompt in your terminal program.

Install

Download and install AWS CLI v2

Source: https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-windows.html

Validate

aws --version

Configure

PS C:\Repo\Tools\PowerShell> aws configure
AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE
AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Default region name [None]: us-west-2
Default output format [None]: json

Follow the prompts to input your AWS Access Key ID and Secret Access Key, which you’ll find on this page.

The configuration process creates a file at ~/.aws/credentials on MacOS and Linux or %UserProfile%\.aws\credentials on Windows, where your credentials are stored.

Source: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html

Leave a Reply

Your email address will not be published. Required fields are marked *

Close Bitnami banner
Bitnami