apache/airflow

Sensitive data from extra fields is visible in Edit Connection window

Open

#53,410 建立於 2025年7月16日

在 GitHub 查看
 (9 留言) (0 反應) (0 負責人)Python (44,809 star) (16,781 fork)batch import
area:UIarea:coregood first issuekind:feature

描述

Apache Airflow version

3.0.3

If "Other Airflow 2 version" selected, which one?

No response

What happened?

After upgrading Airflow from version 3.0.2 to 3.0.3 sensitive data in extra fields and extra fields JSON is visible in edit connection page.

What you think should happen instead?

Sensitive data should be masked with ***

How to reproduce

Enter Edit Connection window in Airflow UI.

Operating System

Ubuntu 24.04

Versions of Apache Airflow Providers

No response

Deployment

Other Docker-based deployment

Deployment details

Airflow deployed with Docker Swarm. Settings in airflow.cfg:

  • hide_sensitive_var_conn_fields = True

I also added the following after realising the issue occurred::

  • sensitive_var_conn_names = private_key,private_key_passphrase However, this did not change anything.

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

貢獻者指南

Sensitive data from extra fields is visible in Edit Connection window · apache/airflow#53410 | Good First Issue