ashb commented on code in PR #43040:
URL: https://github.com/apache/airflow/pull/43040#discussion_r1802935540
##########
airflow/settings.py:
##########
@@ -118,6 +118,27 @@
"upstream_failed": "orange",
}
+# list of the environment variables that need to be masked from the logs
+# some of these could be sensitive and there's no reason to log those
+ENV_VARIABLES_TO_MASK = [
+ "AIRFLOW__CORE__FERNET_KEY",
+ "AIRFLOW__SMTP__SMTP_PORT",
+ "AIRFLOW__SMTP__SMTP_PASSWORD",
+ "AIRFLOW__SMTP__SMTP_PASSWORD_SECRET",
Review Comment:
The `_secret` aren't sensitive either -- they are the name of a secret to
fetch the creds from so aren't sensitive themselves.
--
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]