csm10495 commented on code in PR #28239:
URL: https://github.com/apache/airflow/pull/28239#discussion_r1043842130


##########
airflow/config_templates/config.yml:
##########
@@ -713,6 +713,17 @@
       type: string
       example: ~
       default: "airflow.utils.log.timezone_aware.TimezoneAware"
+    - name: secret_mask_adapter
+      description: |
+        An import path to a function to add adaptations of each secret added 
with
+        `airflow.utils.log.secrets_masker.mask_secret` to the log message. The 
given function
+        is expected to require a single parameter: the secret to be adapted. 
It may return a
+        single adaptation of the secret or an iterable of adaptations to each 
be masked as secrets.
+        The original secret will be masked as well as any adaptations returned.
+      version_added: 2.5.0

Review Comment:
   Dang. I'm behind the times. Thanks.



-- 
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