apache/airflow

Sensitive data from extra fields is visible in Edit Connection window

开放

#53,410 创建于 2025年7月16日

 (10 条评论) (0 个反应) (0 位负责人)Python (16,781 个派生)batch import
area:UIarea:coregood first issuekind:feature

仓库指标

星标
 (44,809 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南