Skip to content

Conversation

@RafiB982
Copy link
Contributor

@RafiB982 RafiB982 commented Jan 2, 2026

This PR updates airflow connections list to no longer display sensitive
connection values (such as login, password, or credential-containing URIs)
by default.

The change only affects the list command. The airflow connections get
command remains unchanged, as it is explicitly intended for retrieving full
connection details.

A unit test is added to prevent regressions, and a newsfragment documents
the user-facing behavior change.

Fixes #59844

@RafiB982 RafiB982 force-pushed the hide-sensitive-values-connections-list branch from 58d855c to bb0f174 Compare January 2, 2026 18:29
@RafiB982 RafiB982 force-pushed the hide-sensitive-values-connections-list branch from bb0f174 to 4e24c17 Compare January 2, 2026 19:34
@RafiB982 RafiB982 force-pushed the hide-sensitive-values-connections-list branch from 4e24c17 to 9fdee52 Compare January 3, 2026 13:35
Copy link
Member

@potiuk potiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one needs more changes. We want to make quite a bit more here to make behaviour consistent with other commands:

  • list should only return ids, nothing else
  • there should be --show-values that should show all values (including sensitive)
  • there should be --hide-sensitive flag additionally to --show-values to hide sensitive information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Local CLI when listing connections and variables should not show values

2 participants