apache/airflow

Sensitive data from extra fields is visible in Edit Connection window

Open

#53410 opened on Jul 16, 2025

View on GitHub
 (9 comments) (0 reactions) (0 assignees)Python (44,809 stars) (16,781 forks)batch import
area:UIarea:coregood first issuekind:feature

Description

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

Contributor guide