apache/airflow

Sensitive data from extra fields is visible in Edit Connection window

Open

#53 410 ouverte le 16 juil. 2025

Voir sur GitHub
 (10 commentaires) (0 réactions) (0 assignés)Python (16 781 forks)batch import
area:UIarea:coregood first issuekind:feature

Métriques du dépôt

Stars
 (44 809 stars)
Métriques de merge PR
 (Merge moyen 7j 18h) (834 PRs mergées en 30 j)

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

Guide contributeur