airflow: Connection Extra Field is not encrypted/masked on editing
I see a discrepancy in the behavior of encryption: When I created a variable with key containing ApiKey suffix, the value get encrypted as shown in the attachment. Then I tried to edit that variable still it shows as ****** rather than plain text - thats perfect (expected). Now coming to connection: where I have extra field with value containing ApiKey and it saves and shows as extra encrypted as True. But now when I click on edit, instead of showing the extra field as ********* it shows as plain text - which is inconsistent and not expected.
Apache Airflow version: 1.10.10
Kubernetes version (if you are using kubernetes) (use kubectl version):
Environment: Local
- Cloud provider or hardware configuration:
- OS (e.g. from /etc/os-release): Mac OS
- Kernel (e.g.
uname -a): - Install tools:
- Others:
What happened:
But now when I click on edit, instead of showing the extra field as ********* it shows as plain text
What you expected to happen:
expected to show *********
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 17 (13 by maintainers)
I can’t remember, really - but just checking/reproducing it might be good enough thing to do here.
Could I check if I could fix this issue?
Starting from CONTRIBUTING.rst is a good first step when you get to the point tha you would like to ffix it 😃
I would like to raise a PR for this issue. You can assign it to me