You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Sensitive data from extra fields is visible in Edit Connection window #53410
I think we could potentially mask sensitive data in fields, but masking them in JSON is likely not a good idea. Not a bug BTW. This is a new feature. When you edit connections, you should be able to see all fields (including sensitive ones) - password is only masked in order to avoid someone standing behind your back read the password - but other than that you can reveal and see it anyway - the settings you refer to are only for masking thing in logs. But yeah, I guess in the UI we could also mask sensitive fields to avoid this scenario of someone behind your back looking at your screen while you are editing the connection. New feature. not a bug. Marking as "good first issue".
Oh, that's interesting what you wrote, @potiuk. When we had Airflow 3.0.2 deployed, the fields 'private_key' and 'private_key_passphrase' were actually masked with '***', so I thought it was a new feature compared to Airflow 2.8.4, which we had deployed earlier. However, after upgrading to 3.0.3, the field masking disappeared, so I thought it was a bug in the newer Airflow version.
I'll try deploying a test instance of 3.0.2 to see what happens.
Hey @potiuk, just a quick update: I've deployed the test instance of Airflow 3.0.2, and here's what the Edit Connection window looks like after adding a new connection.
Now, a question: Is hiding those fields a feature or a bug in version 3.0.2? :P
The configuration files are the same, except that I have removed this in order to have the exact same environment as before the update to version 3.0.3:
I think there was a bug in one of the previous versions that not even masked the fields but replaced them with *** when you updated other fields. You can take a look at the changelog to find out . Likely what you see there is your passwords got replaced by *** and do not work any more.
And it does not matter if it is a bug or feature - it's marked as good first issue and is up for grabs for anyone who would like to implement it (yourself including). Whether it's a bug or feature does not really matter, it still needs someone to implement it.
This is not meant to discourage your contribution — quite the opposite! You are still very welcome to work on this issue and submit a PR for it. Simply comment that you are working on it and open a PR when ready.
We found that formal assignments were not working well, as they often prevented others from contributing when the assignee was not actively working on the issue.
Hey @potiuk I'd like to work on this.
Keeping it to the UI side — adding a password field type to FlexibleForm so extra fields with format: "password" render masked with a show/hide toggle, like the standard password field already does. Not touching the Extra JSON block.
First time contributing here, so tell me if the scope looks off.
Activity
potiuk commentedon Jul 17, 2025
I think we could potentially mask sensitive data in fields, but masking them in JSON is likely not a good idea. Not a bug BTW. This is a new feature. When you edit connections, you should be able to see all fields (including sensitive ones) - password is only masked in order to avoid someone standing behind your back read the password - but other than that you can reveal and see it anyway - the settings you refer to are only for masking thing in logs. But yeah, I guess in the UI we could also mask sensitive fields to avoid this scenario of someone behind your back looking at your screen while you are editing the connection. New feature. not a bug. Marking as "good first issue".
CarbonRK commentedon Jul 17, 2025
Oh, that's interesting what you wrote, @potiuk. When we had Airflow 3.0.2 deployed, the fields 'private_key' and 'private_key_passphrase' were actually masked with '***', so I thought it was a new feature compared to Airflow 2.8.4, which we had deployed earlier. However, after upgrading to 3.0.3, the field masking disappeared, so I thought it was a bug in the newer Airflow version.
I'll try deploying a test instance of 3.0.2 to see what happens.
potiuk commentedon Jul 17, 2025
Interesting. Yes
CarbonRK commentedon Jul 18, 2025
Hey @potiuk, just a quick update: I've deployed the test instance of Airflow 3.0.2, and here's what the Edit Connection window looks like after adding a new connection.
Now, a question: Is hiding those fields a feature or a bug in version 3.0.2? :P
The configuration files are the same, except that I have removed this in order to have the exact same environment as before the update to version 3.0.3:
potiuk commentedon Jul 19, 2025
I think there was a bug in one of the previous versions that not even masked the fields but replaced them with
***when you updated other fields. You can take a look at the changelog to find out . Likely what you see there is your passwords got replaced by***and do not work any more.potiuk commentedon Jul 19, 2025
And it does not matter if it is a
bugorfeature- it's marked as good first issue and is up for grabs for anyone who would like to implement it (yourself including). Whether it's abugorfeaturedoes not really matter, it still needs someone to implement it.jasneetsingh6114 commentedon Jul 19, 2025
Hey @potiuk can you assign this issue to me. I would like to work on this issue
potiuk commentedon Jul 19, 2025
Feel free
potiuk commentedon Mar 2, 2026
@jasneetsingh6114 We are unassigning you from this issue as part of our updated assignment policy.
This is not meant to discourage your contribution — quite the opposite! You are still very welcome to work on this issue and submit a PR for it. Simply comment that you are working on it and open a PR when ready.
We found that formal assignments were not working well, as they often prevented others from contributing when the assignee was not actively working on the issue.
bhavika-reddy commentedon Jun 2, 2026
hey @potiuk I'd like to work on this issue and will submit a PR once I have a fix ready!
Ed3110 commentedon Jul 25, 2026
Hey @potiuk I'd like to work on this.
Keeping it to the UI side — adding a password field type to FlexibleForm so extra fields with
format: "password"render masked with a show/hide toggle, like the standard password field already does. Not touching the Extra JSON block.First time contributing here, so tell me if the scope looks off.