m1racoli commented on issue #22738: URL: https://github.com/apache/airflow/issues/22738#issuecomment-1286630770
@hugochinchilla I believe you need to store your secret in an Airflow variable or connection and then use jinja to render it in your `MY_VARIABLE` value in order to take advantage of secrets masking. Not sure this works for hard-coded values. Also secrets should not be hardcoded or loaded during DAG parsing (more in [Airflow Best Practices](https://airflow.apache.org/docs/apache-airflow/stable/best-practices.html#airflow-variables)). -- 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]
