potiuk commented on PR #59858:
URL: https://github.com/apache/airflow/pull/59858#issuecomment-3694599777

   > I did look at the secrets_masker file for masking logs, would it be better 
to use that for config as well?
   
   No need for that. In configuration we **know** what part is sensitive 
because we keep that in definition - for example 
https://github.com/apache/airflow/blob/main/airflow-core/src/airflow/config_templates/config.yml#L206
 -> secrets masker is only needed for dynamic/unknown keys and values. Besides 
(as mentioned) it's already handled in config dump and it is already used in 
`ui` when `non-sensitive-only` is set as 
https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#expose-config
 in UI. So you just need to use the code that is already there.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to