Your guide to logging into your Airflow environments
DagDroid currently supports the following login methods:
If your Airflow environment is hosted on Google Cloud Composer, you can log in with your Google account.
To connect your Composer environment to DagDroid, you need the Airflow web server URL (API endpoint):
In DagDroid, enter:
If your Airflow deployment is set up with Basic Auth, you can log in using your username and password directly in the app.
To require Basic Authentication on Airflow’s REST API:
airflow.cfg
(under the [api]
section) to include:
[api]
auth_backends = airflow.api.auth.backend.basic_auth
export AIRFLOW__API__AUTH_BACKENDS=airflow.api.auth.backend.basic_auth
airflow users create \
--username admin \
--firstname John \
--lastname Doe \
--role Admin \
--email [email protected] \
--password yourpassword
In the DagDroid app:
http://123.45.67.89:8080
)