Apache Airflow
Apache Software FoundationCI/CD4 credentials
Fernet Key
apache-airflow / fernet-key
Airflow encrypts sensitive connection and variable values at rest with a fernet key. A leaked fernet key plus metadata DB access can decrypt stored connection passwords and variable values.
Looks like
exampleAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=Location
AIRFLOW__CORE__FERNET_KEY~/airflow/airflow.cfg, /opt/airflow/airflow.cfgAirflow default/home and container configuration files
airflow.cfgProject-local Airflow configuration file
Kubernetes Secrets, Helm secrets, cloud secret managers, and Airflow secrets backends
Committed airflow.cfg, deployment manifests, and test configs
Startup logs and support bundles
Webserver Secret Key
apache-airflow / webserver-secret-key
Airflow webserver uses a secret key for signing web sessions and CSRF state.
Location
AIRFLOW__WEBSERVER__SECRET_KEY, AIRFLOW__API_AUTH__JWT_SECRETAirflow config environment variables for webserver signing and API JWT secret where applicable
~/airflow/airflow.cfg, /opt/airflow/airflow.cfg, ~/airflow/webserver_config.py, /opt/airflow/webserver_config.pyAirflow webserver/API secret-key configuration files
airflow.cfg, webserver_config.pyProject-local Airflow webserver config files
Kubernetes Secrets, Helm secrets, and cloud secret managers
Committed configs and deployment manifests
Connection / Variable Secret
apache-airflow / connection-secret
Airflow stores credentials for external systems as Connections and Variables in the metastore, exact AIRFLOW_CONN/AIRFLOW_VAR environment variables, or configured secrets backends.
Location
Airflow metadata database storing encrypted connection and variable values
~/airflow/airflow.cfg, /opt/airflow/airflow.cfgAirflow configuration and secrets backend settings
airflow.cfgProject-local Airflow configuration
HashiCorp Vault, AWS Secrets Manager, GCP Secret Manager, Azure Key Vault, Kubernetes Secrets, environment variables, and custom backends
DAG repositories, tests, committed connection URIs, variables, and examples
Task logs, connection debugging, scheduler output, and webserver traces
Notes
Airflow supports arbitrary AIRFLOW_CONN_<CONN_ID> and AIRFLOW_VAR_<KEY> names; those are intentionally not listed as wildcard environment locations.
Web UI User Password
apache-airflow / admin-user-password
Airflow web UI users authenticate through the configured auth manager or webserver auth backend. Local user credentials are deployment-specific and often provisioned by CLI, containers, Helm, or secrets backends.
Location
AIRFLOW_WWW_USER_USERNAME, AIRFLOW_WWW_USER_PASSWORDAirflow container/init examples commonly use these exact bootstrap variables
Airflow metadata database user tables for local auth configurations
/login, /api/Airflow webserver UI and API login contexts
Helm secrets, Kubernetes Secrets, password vaults, and identity-provider secrets
Docker Compose files, Helm values, local development configs, and deployment automation
Setup output and authentication traces
Notes
There is no universal Airflow administrator password.
Scope
Authorized use
LOLCreds helps map the credential surface of real products: known defaults, generated values, credential locations, and exposure patterns.