Install or update to the latest version of the AWS CLI - AWS Command Line Interface

Next we have to create a user for authenticating with CLI

Go to IAM dashboard

Click users in left menu, and create a new user

Set name, then give permissions

Next go to created User > Security Credentials > Create access key

Create a new key, and then set that in your environment variables

Environment variables to configure the AWS CLI - AWS Command Line Interface