GitHub user potiuk added a comment to the discussion: Airflow Web Password 
Configuration

> airflow cli has no more users option

Because you are using SimpleAuthManager by default. That was a change in 
Airflow 3 clearly documented in changelog. If you want to use FABAuthManager 
and "create users" command you need to configure FABAuthManager as auth manager 
you use.

> The admin password is printed in the log and stored in a text file 
> /opt/airflow/simple_auth_manager_passwords.json.generated , even i tried 
> mounting the file as secret but i'm getting permission denied error

Correct - that is the change in Airlfow 3 with SimpleAuthManager being default 
(yet only useful for development and testing). If you wish to use "production" 
ready Auth Manager - you can switch to FabAuthManager (to preserve Airflow 2 
compatibility of users management) and in Airflow 3.1 you will also be able to 
also use KeyCloakAuthManager which will allow to delegate RBAC control out to 
KeyCloak where you will be able to map your "enterprise" users to Airflow users 
and their permissions.

Nothing extraordinary here. Everything communicated and described in Airflow 3 
Release Notes including links to appropriate documentation.

Yes. It's a change vs default Airflow 2 behaviour and you have no other choice 
but to adapt.

GitHub link: 
https://github.com/apache/airflow/discussions/54094#discussioncomment-13989603

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to