Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 727 Bytes

aws-cli.md

File metadata and controls

26 lines (23 loc) · 727 Bytes

Install on Linux, macOS, or Unix

$ curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
$ python get-pip.py --user
$ pip install awscli

Windows -> https://docs.aws.amazon.com/cli/latest/userguide/installing.html

Configure

$ 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

To configure multiple profiles

$ aws configure --profile user2
AWS Access Key ID [None]: AKIAI44QH8DHBEXAMPLE
AWS Secret Access Key [None]: je7MtGbClwBF/2Zp9Utk/h3yCo8nvbEXAMPLEKEY
Default region name [None]: us-east-1
Default output format [None]: text