dimanche 16 août 2020

how to hide username and password in the code of airflow for new users created

I have created two new users for my airflow 1.10.10 using

rbac=true

in airflow.cfgand created two users in entrypoint.sh file using :

 $CMD create_user -u admin -l admin -f admin -e admin@nice.com -r Admin -p admin
    
     $CMD create_user -u read_only_user -l read_only_user -f read_only_user -e read_only_user@gmail.com -r Viewer -p read_only_user

Can anyone help me in- how can I hide username and password I don't want both username and password in the code.

Aucun commentaire:

Enregistrer un commentaire