Using the Default Credentials Provider Chain

You can configure the connector to authenticate the connection using credentials that are stored in one of the locations in the default credentials provider chain. The connector looks for a valid access key and secret key pair by checking the following locations, in the following order:

  1. The AWS credentials file stored in the %USERPROFILE%.awscredentials directory.
  2. The AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY system environment variables.
  3. The instance profile from the Amazon EC2 Instance Metadata Service.

For detailed information about configuring default credentials, see "Providing AWS Credentials" in the AWS SDK for C++ Developer Guide: http://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/credentials.html.

To configure authentication using the default credentials provider chain:

  1. To access authentication options, open the ODBC Data Source Administrator where you created the DSN, then select the DSN, then click Configure, and then click Authentication Options.
  2. From the Authentication Type drop-down list, select Default Credentials.
  3. To save your settings and close the Authentication Options dialog box, click OK.