tirkarthi commented on issue #22738:
URL: https://github.com/apache/airflow/issues/22738#issuecomment-1089050584

   Thanks, `MASK_SECRETS_IN_LOGS` should be set for masking of secret to work. 
It is set automatically when `airflow tasks run` is called. The sequential 
scheduler I use for local testing internally calls the `airflow tasks run` 
command to run tasks and thus I was confused over how masking is done when task 
is executed though the taskinstance.py file had not set the variable. I left a 
note in the PR over whether we should enable this just during rendering the 
task template in UI.
   
   https://github.com/apache/airflow/pull/22754#issuecomment-1088945895


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