Amazon Redshift Connection

The Redshift connection type enables integrations with Redshift.

Authenticating to Amazon Redshift

Authentication may be performed using any of the authentication methods supported by redshift_connector such as via direct credentials, IAM authentication, or using an Identity Provider (IdP) plugin.

Default Connection IDs

The default connection ID is redshift_default.

Configuring the Connection

Host (optional)

Specify the Amazon Redshift cluster endpoint.

Schema (optional)

Specify the Amazon Redshift database name.

Login (optional)

Specify the username to use for authentication with Amazon Redshift.

Password (optional)

Specify the password to use for authentication with Amazon Redshift.

Port (optional)

Specify the port to use to interact with Amazon Redshift.

Extra (optional)

Specify the extra parameters (as json dictionary) that can be used in Amazon Redshift connection. For a complete list of supported parameters please see the documentation for redshift_connector.

If you are configuring the connection via a URI, ensure that all components of the URI are URL-encoded.


Database Authentication

  • Schema: Dev

  • Host:

  • Login: awsuser

  • Password: ********

  • Port: 5439

IAM Authentication

Uses AWS IAM to retrieve a temporary password to connect to Amazon Redshift. Port is required. If none is provided, default is used (5439). This assumes all other Connection fields e.g. Login are empty. In this method, cluster_identifier replaces Host and Port in order to uniquely identify the cluster. More details about AWS IAM authentication to generate database user credentials.

  • Extra:

  "iam": true,
  "cluster_identifier": "redshift-cluster-1",
  "port": 5439,
  "region": "us-east-1",
  "db_user": "awsuser",
  "database": "dev",
  "profile": "default"

Was this entry helpful?