amarlearning commented on code in PR #48791:
URL: https://github.com/apache/airflow/pull/48791#discussion_r2028755340
##########
task-sdk/src/airflow/sdk/execution_time/secrets_masker.py:
##########
@@ -66,6 +66,11 @@
"""Names of fields (Connection extra, Variable key name etc.) that are deemed
sensitive"""
SECRETS_TO_SKIP_MASKING_FOR_TESTS = {"airflow"}
+# Common terms that should be excluded from masking in production
+SECRETS_TO_SKIP_MASKING = {"airflow"}
+
+# Minimum length for a secret to be considered for masking
+MIN_SECRET_LENGTH = 5
Review Comment:
I was unsure about this—whether to keep it as config or not. Appreciate the
suggestion!
--
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]