Skip to content

Add ability to connect to redshift using DescribeClusters and GetClusterCredentialsWithIAM apis#162

Open
Tmonster wants to merge 10 commits into
duckdb:mainfrom
Tmonster:add_redshift_connect_capability
Open

Add ability to connect to redshift using DescribeClusters and GetClusterCredentialsWithIAM apis#162
Tmonster wants to merge 10 commits into
duckdb:mainfrom
Tmonster:add_redshift_connect_capability

Conversation

@Tmonster

@Tmonster Tmonster commented Jul 10, 2026

Copy link
Copy Markdown
Member

Currently to attach to redshift, you need to url, host, port, username, and password (maybe more).

This information can all be made available if you call the DescribeClusters API with the redshift cluster name.

Once you have that information, you can also get credentials with IAM credentials using the GetClusterCredentialWithIAM apis.

This PR rolls accessing this logic into the AWS extension, and can allow users to attach to redshift with a simple ATTACH '<cluster_name>' AS redshift (TYPE redshift);

This needs more tests in the following areas

  • authentication (STS, assuming roles etc.)
  • failure modes
  • incorrect region
  • scoping secrets to redshift connection string

@Tmonster Tmonster requested a review from carlopi July 10, 2026 12:22
@Tmonster

Copy link
Copy Markdown
Member Author

For some reason, adding duckdb_postgress is causing weird build issues in CI. Will have to take a deeper look soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant