stuart23 opened a new issue, #42420:
URL: https://github.com/apache/airflow/issues/42420

   ### Apache Airflow version
   
   2.10.1
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   When using a third party secrets backend (e.g. AWS Secrets Manager), secret 
values are not redacted from task logs and appear as plaintext in the logs.
   
   ### What you think should happen instead?
   
   When writing task logs, the worker should list all the secret values from 
the backend and add that to the list of things to redact.
   
   ### How to reproduce
   
   Connect a secrets backend e.g. [AWS Secrets 
Manager](https://airflow.apache.org/docs/apache-airflow-providers-amazon/stable/_api/airflow/providers/amazon/aws/secrets/secrets_manager/index.html#module-airflow.providers.amazon.aws.secrets.secrets_manager)
   Print a value from the backend - the plaintext will appear in the task logs
   
   
   ### Operating System
   
   N/A
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Astronomer
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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