so basically from a high level it is a two step process:

1.) install aws cli

2.) setup credentials and config file under “.aws” direct – slightly different default locations depending OS

Both Windows and Linux AWS CLI depend on python and pip as prerequisites

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

or the more generic docs:

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

After creating a security credentionals using AWS IAM:

Access keys (access key ID and secret access key)

for Windows drops credentials file here:

cd %userprofile%\.aws

# make the file named credentials:

C:\Users\mike\.aws>type credentials
[default]
aws_access_key_id = nxxxxxxxxxxxxxxxxxxx
aws_secret_access_key = nxxxxxxxxxxxxxxxxxxxx

C:\Users\mike\.aws>type config
[default]
region = us-west-2
output = json

For RHEL local on premise:

credentials still default to $HOME/.aws

I simply copied the credentials from windows to linux – but you can copy active credentials straight out of IAM

 

 

 

Leave a Reply

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