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

   Actually this is a simplification, the problem I'm having is actually using 
data inside a Connection, but that connection is serialized as base64 in a 
factory that creates the operators, the code calls `mask_secret()` but  the 
value is exposed until the task actually runs.
   
   I've mitigated it creating a macro to call `mask_secret()` and return the 
value, so I can use something like `{{ 
macros.plugin_name.mask_secret(some_secret) }}` and the value is masked even 
when the task is pending.


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