TJaniF opened a new issue, #42496:
URL: https://github.com/apache/airflow/issues/42496

   ### Apache Airflow Provider(s)
   
   snowflake
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-snowflake==5.7.1
   
   ### Apache Airflow version
   
   2.10.2
   
   ### Operating System
   
   Debian GNU/Linux 12 (bookworm)
   
   ### Deployment
   
   Astronomer
   
   ### Deployment details
   
   _No response_
   
   ### What happened
   
   Noticed that the private_key_content as well as the Private key (Text) field 
are not masked upon editing a connection
   
   
![image](https://github.com/user-attachments/assets/61bec5b4-46f2-4381-a1d8-ac808621f4f8)
   
   (also the Private key (Text) field displays error and warning icons for 
valid keys, probably trying to display JSON)
   
   ### What you think should happen instead
   
   I think it should be masked in the text field and use 
`RATHER_LONG_SENSITIVE_FIELD_PLACEHOLDER` in the Extra field
   Also it should not display warning icons for a valid key.
   
   ### How to reproduce
   
   1. Create a Snowflake connection in the Airflow UI
   2. paste a value in the Private Key (Text) field
   3. Save the connection
   4. Edit the connection
   5. See the key
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to