Skip to content

Connections ​

A connection holds credentials for one system: a database, a bucket, an API. It doesn't know which table or folder.

dte has no connections of its own. It uses Airflow connections, and the provider that owns each type does the auth. Create them in Admin → Connections, in AIRFLOW_CONN_* environment variables, or in a secrets backend.

Airflow connections list

Sources and destinations point at a connection by name, so rotating credentials is one change, and anything that works in an Airflow task (IAM role, Azure service principal, GCP service account) works in dte.

Every connection type ​

dte offers a type only when its provider is installed. Others show in the source picker as disabled, with the package to install.

Airflow connection typeProvider packageUse it for
fsapache-airflow-providers-standardFiles on the machines Airflow runs on
awsapache-airflow-providers-amazon[s3fs]Reading and writing S3 (and S3-compatible stores: set endpoint_url in the extra)
google_cloud_platformapache-airflow-providers-googleReading and writing GCS. Set extra dte_type: bigquery to use it for BigQuery instead
gcpbigqueryapache-airflow-providers-googleReading and writing BigQuery. See the BigQuery guide for credentials and the dte_max_bytes_billed spending cap
wasb, adls, azure_data_lakeapache-airflow-providers-microsoft-azureReading and writing Azure Blob / ADLS
sftpapache-airflow-providers-sftp + sshfsReading and writing files over SFTP
postgresapache-airflow-providers-postgresReading and writing tables
mysqlapache-airflow-providers-mysqlReading and writing tables
mssqlapache-airflow-providers-microsoft-mssqlReading and writing tables (needs Microsoft ODBC Driver 18)
snowflakeapache-airflow-providers-snowflakeReading and writing tables (setup and cost)
sqliteapache-airflow-providers-sqliteReading local .db files
mongoapache-airflow-providers-mongoReading collections
httpapache-airflow-providers-httpPulling data from a JSON API (login/password become basic or bearer auth)

Fill each in as the provider documents it. dte reads SQL connections through the hook's SQLAlchemy URL (Snowflake through the hook itself, so key-pair and OAuth auth work) and opens files through the provider's filesystem.

Which connections dte lists ​

The picker lists the metadata database and AIRFLOW_CONN_* variables. A secrets backend can't be enumerated: its connections resolve at run time but don't appear in the picker, so set connection_id on the source or destination through the API.

Test ​

Test calls the provider's own connection test. Airflow disables it by default; enable with [core] test_connection = Enabled (AIRFLOW__CORE__TEST_CONNECTION=Enabled). A failure shows the provider's message.

Connection and source / destination pairs ​

dte rejects mismatched pairs at save.

  • fs → filesystem sources; JSON, CSV, Excel, Parquet file destinations
  • aws, google_cloud_platform, wasb/adls, sftp → the matching file source (S3, GCS, Azure, SFTP); JSON, CSV, Excel, Parquet file destinations at a matching URL
  • postgres → SQL database sources; PostgreSQL destinations
  • mysql, mssql, snowflake, gcpbigquery (or google_cloud_platform with dte_type: bigquery) → SQL database sources; SQL database destinations
  • sqlite → SQL database sources (read only)
  • mongo → MongoDB sources
  • http → REST API sources

Built and maintained by flowexperts.ai. Apache-2.0.