Using IAM Credentials
You can configure the connector to authenticate your connection through IAM authentication using IAM credentials.
To configure IAM authentication using IAM:
- Set the
IAMproperty to1. - If the ID and region of the Redshift server cluster are not already provided through the
Serverproperty, then do the following:- Set the
ClusterIDproperty to the ID for the Redshift server cluster. - Set the
Regionproperty to the region for the Redshift server cluster.
- Set the
- Set the
DbUserproperty to the ID that you want to designate to the Redshift user. - If the ID you specified for the
DbUserproperty does not already exist in your Redshift account, you must create it:- Set the
AutoCreateproperty to1. - Set the
DbGroupsproperty to the names of any user groups that you want the new DbUser to be added to, separated by commas. - Optionally, to lowercase all
DbGroupsthat are received from the identity provider, select theForce Lowercasecheck box.
- Set the
- Optionally, set the
EndpointUrlproperty to the endpoint used to communicate with the Redshift cluster. - Optionally, set the
StsEndpointUrlproperty to the endpoint used to communicate with the AWS Security Token Service (AWS STS). -
Optionally, set the
VpcEndpointUrlproperty to the endpoint used to communicate with the Redshift cluster - Optionally, set the
AuthProfileproperty to the authentication profile you want to use to manage the connection settings. - Set the
AccessKeyIDproperty to your Redshift access key ID. - Set the
SecretAccessKeyproperty to your Redshift secret key. - If you are using an IAM role, set the
SessionTokenproperty to your temporary session token. - Optionally, set the
group_federationproperty to1to enable group federation.