This page hasn’t yet been updated for Airflow 3. The concepts shown are relevant, but some code may need to be updated. If you run any examples, take care to update import statements and watch for any other breaking changes.
- Using database (DB) user credentials
- Using IAM credentials
- Using IAM role
Prerequisites
- The Astro CLI.
- A locally running Astro project.
- Permissions to access to your Redshift cluster. See Using IAM authentication and Authorizing Amazon Redshift to access other AWS services.
Get connection details
Create your connection
Astro users can also create connections using the Astro Environment Manager, which stores connections in an Astro-managed secrets backend. These connections can be shared across multiple deployed and local Airflow environments. See Create Airflow connections in the Astro UI.
How it works
Airflow uses the Amazon Redshift Python Connector to connect to Redshift through theRedshiftSQLHook.