aws cli creden priority code example
Example: download aws credentials file
#if you want to configure run
aws configure
#to get your aws access key & secret:
Go to: https://console.aws.amazon.com/iam/home#/users -> Select User -> Security Credentials -> Create Access Key (you always have to create a new one)