Airflow admin credentials
Overriding Airflow's webserver_config.py
One of the key differences between the Flowz development environment and the remote executor variant (Celery Executor) is that Airflow webserver authentication is disabled during DAG development. Flowz achieves this by overriding Airflow's webserver_config.py
during the initialisation of the development environment.
Remote executor credentials management
Airflow remote executor installation types will enforce admin
user authentication by default:
The Flowz bootstrap DAG features an admin
user credentials primer task. By default, the username and password fields are both airflow
.
Warning
Do not use the default primer credentials in a production environment.
It is possible to override the default primer credentials by setting the environment variables FLOWZ_AIRFLOW_ADMIN_USER
and FLOWZ_AIRFLOW_ADMIN_PASSWORD
during the Airflow instance start up with values of your choice. For example: