GitHub user potiuk added a comment to the discussion: airflow does not obey 
AIRFLOW__CORE__HIDE_SENSITIVE_VAR_CONN_FIELDS=False and still masks passwords

This is not possible. Airflow will always mask passwords - if you are using 
"airflow" as a password (which you should not) it will be masked. The 
description is quite clear about it (it's only about sensitive connection extra 
keys not passwords).

> Hide sensitive Variables or Connection extra json keys from UI and task logs 
> when set to True

Since Airflow 3 you can set minimum length of secret `min_length_masked_secret` 
so upgrading to Airflow 3 is a possiblity.

Other than that you can likely follow the path of custom logging and adapt 
configuration of logger to remove secrets masker that is configured as logging 
filter (see the custom logging config and alirflow_local_settings.py). 




GitHub link: 
https://github.com/apache/airflow/discussions/58456#discussioncomment-15005690

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

Reply via email to