Connection Base Hook printing out password in Airflow logs,
See original GitHub issueI have recently upgraded to airflow:2.1.0
.
I am finding the issue of password being printed from within the connection objects in Airflow logs. Earlier they used to be covered with several X
s in the logs.
This should be the source code which causes it to print the password.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Store and access password using Apache airflow
You can store the password in a Hook - this will be encrypted so long as you have setup your fernet key. Here...
Read more >Managing Connections — Airflow Documentation
For connections stored in the Airflow metadata database, Airflow uses Fernet to encrypt password and other potentially sensitive data.
Read more >How to Mask the connection Passwords in airflow logs #24435
This masks secret values in logs for Connections and Variables. It behaves as follows: Connection passwords are always masked, where-ever they appear. This ......
Read more >[GitHub] [airflow] raajpackt edited a comment on issue #16558
[GitHub] [airflow] raajpackt edited a comment on issue #16558: Connection Base Hook printing out password in Airflow logs,.
Read more >Managing Connections - Apache Airflow Documentation
Airflow needs to know how to connect to your environment. Information such as hostname, port, login and passwords to other systems and services...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here is the docs (I missed it when searching) about it https://airflow.apache.org/docs/apache-airflow/stable/security/secrets/index.html?highlight=secrets masking#masking-sensitive-data
@raajpackt Masking happens when tasks are run – where do you have the code that is triggering that behaviour?