Using Environment Variables for AWS Credentials

Alternatively, the user can also use environment variables to pass AWS credentials to hcs3 commands. The following variables are required:

  • AWS_ACCESS_KEY_ID—AWS access key.
  • AWS_SECRET_ACCESS_KEY—AWS secret key.

Access and secret key variables override credentials stored in credential and config files.