airflow

airflow users create command not working with 3.0 version


I was trying to run below command inside airflow 3.0 version but getting error command not found

airflow users create \
    --username "airflow" \
    --firstname "airflow"
    -- rest all params here

How can we create users using fab auth manager. Please give some examples


Solution

  • Below worked for me:

    auth_manager=airflow.providers.fab.auth_manager.fab_auth_manager.FabAuthManager