Using a JSON Web Token (JWT)

You can configure the connector to authenticate your connection by using a token obtained from the web identity provider.

To configure IAM authentication using a JWT:

  1. To access the IAM authentication options, open the ODBC Data Source Administrator where you created the DSN, select the DSN, and then click Configure.
  2. From the Auth Type drop-down list, select Identity Provider: JWT.
  3. Optionally, in the Endpoint URL field, type the endpoint used to communicate with the Redshift cluster.
  4. Optionally, in the STS Endpoint URL field, type the endpoint used to communicate with the AWS Security Token Service (AWS STS).
  5. Optionally, in the AuthProfile field, type the authentication profile you want to use to manage the connection settings, then do the following:
    1. In the AccessKeyID field, type your Redshift access key ID.
    2. In the SecretAccessKey field, type your Redshift secret key.
  6. In the Web Identity Token field, type the token that is provided by the identity provider.
  7. Optionally, in the Provider Name field, type the name of the authentication provider created from the CREATE IDENTITY PROVIDER query.
  8. To save your settings and close the dialog box, click OK.