amoghrajesh commented on code in PR #43040:
URL: https://github.com/apache/airflow/pull/43040#discussion_r1801386037


##########
airflow/settings.py:
##########
@@ -722,6 +743,16 @@ def import_local_settings():
         log.info("Loaded airflow_local_settings from %s .", 
airflow_local_settings.__file__)
 
 
+def mask_conf_values():
+    from airflow.utils.log.secrets_masker import mask_secret
+
+    for env in ENV_VARIABLES_TO_MASK:
+        section, key = conf.get_section_and_key_for_env(env)

Review Comment:
   The reason this is done is so that if the config is set in any other way 
than env, we can detect it and mask it



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to