Use the local environment to determine the AWS Credentials in the following order.
  1. Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
  2. Environment Variables - AWS_ACCESS_KEY and AWS_SECRET_KEY
  3. Java System Properties - aws.accessKeyId and aws.secretKey
  4. Credential profiles file at the default location (~/.aws/credentials)
  5. Instance profile credentials delivered through the Amazon EC2 metadata service