FelixKJose opened a new issue #11218:
URL: https://github.com/apache/airflow/issues/11218


   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 ********* 
   
   <img width="1664" alt="Screen Shot 2020-09-30 at 4 58 09 PM" 
src="https://user-images.githubusercontent.com/22526075/94757525-7b986880-0368-11eb-8ee5-2af511a31220.png";>
   <img width="1627" alt="Screen Shot 2020-09-30 at 4 55 57 PM" 
src="https://user-images.githubusercontent.com/22526075/94757526-7c30ff00-0368-11eb-86f8-3698cb6b957c.png";>
   <img width="1673" alt="Screen Shot 2020-09-30 at 4 46 35 PM" 
src="https://user-images.githubusercontent.com/22526075/94757528-7cc99580-0368-11eb-9bca-406e420414b2.png";>
   <img width="1641" alt="Screen Shot 2020-09-30 at 4 46 22 PM" 
src="https://user-images.githubusercontent.com/22526075/94757529-7cc99580-0368-11eb-90ac-8643a9a5ceae.png";>
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to