Configuration Reference

This page contains the list of all available Airflow configurations for the apache-airflow-providers-jdbc provider that can be set in the airflow.cfg file or using environment variables.

Note

The configuration embedded in provider packages started to be used as of Airflow 2.7.0. Previously the configuration was described and configured in the Airflow core package - so if you are using Airflow below 2.7.0, look at Airflow documentation for the list of available configuration options that were available in Airflow core.

Note

For more information see Setting Configuration Options.

Sections:

[providers.jdbc]

This section applies for the JDBC provider and connection type.

allow_driver_class_in_extra

New in version 4.0.0.

Whether to allow using driver_class set in the connection’s extra field. If set to False, driver_class will be ignored. If enabling this functionality, you should make sure that you trust the users who can edit connections to not use it maliciously.

Type

boolean

Default

False

Environment Variable

AIRFLOW__PROVIDERS_JDBC__ALLOW_DRIVER_CLASS_IN_EXTRA

allow_driver_path_in_extra

New in version 4.0.0.

Whether to allow using driver_path set in the connection’s extra field. If set to False, driver_path will be ignored. If enabling this functionality, you should make sure that you trust the users who can edit connections to not use it maliciously.

Type

boolean

Default

False

Environment Variable

AIRFLOW__PROVIDERS_JDBC__ALLOW_DRIVER_PATH_IN_EXTRA

Was this entry helpful?