You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "atul-astronomer (via GitHub)" <gi...@apache.org> on 2025/02/12 16:25:52 UTC

[I] Variable value is not encrypted on Airflow 3 UI when 'secret' is part of the key [airflow]

atul-astronomer opened a new issue, #46686:
URL: https://github.com/apache/airflow/issues/46686

   ### Apache Airflow version
   
   3.0.0a1
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   The variable value is not encrypted when user uses 'secret' in the key for which value should be encrypted.
   
   AF3:
   
   <img width="1330" alt="Image" src="https://github.com/user-attachments/assets/a2d30d98-0df9-4735-99ca-6517123cd64a" />
   
   AF2:
   
   <img width="1445" alt="Image" src="https://github.com/user-attachments/assets/cfef8eb7-b815-45f2-9293-9fd1579117e6" />
   
   ### What you think should happen instead?
   
   The variable value should be encrypted if variable key contains 'secret' or other predefined keywords for the encryption.
   
   ### How to reproduce
   
   1. Navigate to the variables page on AF3 UI.
   2. Create a variable where variable key contains 'secret'.
   3. The variable value should be encrypted as it is on AF2.
   
   ### Operating System
   
   Linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   _No response_
   
   ### 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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Variable value is not encrypted on Airflow 3 UI when 'secret' is part of the key [airflow]

Posted by "amoghrajesh (via GitHub)" <gi...@apache.org>.
amoghrajesh commented on issue #46686:
URL: https://github.com/apache/airflow/issues/46686#issuecomment-2658200719

   ![Image](https://github.com/user-attachments/assets/ab5acd27-e583-4aba-8b88-173fe3427de0)


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Variable value is not encrypted on Airflow 3 UI when 'secret' is part of the key [airflow]

Posted by "vatsrahul1001 (via GitHub)" <gi...@apache.org>.
vatsrahul1001 commented on issue #46686:
URL: https://github.com/apache/airflow/issues/46686#issuecomment-2670467345

   @atul-astronomer I am not able to replicate this. I tried creating a variable with name `secert_key` and as expected it did encrpyt the value.
   
   <img width="1557" alt="Image" src="https://github.com/user-attachments/assets/dbbcc143-a72f-4ed6-9cb7-829fd01e546d" />


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Variable value is not encrypted on Airflow 3 UI when 'secret' is part of the key [airflow]

Posted by "amoghrajesh (via GitHub)" <gi...@apache.org>.
amoghrajesh commented on issue #46686:
URL: https://github.com/apache/airflow/issues/46686#issuecomment-2658200331

   @atul-astronomer is this behaviour different from airflow 2 old UI?
   
   I just performed the steps on airflow 2 old UI and I see the same result 
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Variable value is not encrypted on Airflow 3 UI when 'secret' is part of the key [airflow]

Posted by "atul-astronomer (via GitHub)" <gi...@apache.org>.
atul-astronomer commented on issue #46686:
URL: https://github.com/apache/airflow/issues/46686#issuecomment-2658486808

   @amoghrajesh can you pls try with keeping 'secret' as part of key?


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Variable value is not encrypted on Airflow 3 UI when 'secret' is part of the key [airflow]

Posted by "vatsrahul1001 (via GitHub)" <gi...@apache.org>.
vatsrahul1001 commented on issue #46686:
URL: https://github.com/apache/airflow/issues/46686#issuecomment-2670468392

   Closing this for now. Please reopen if are some other steps to repro


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Variable value is not encrypted on Airflow 3 UI when 'secret' is part of the key [airflow]

Posted by "vatsrahul1001 (via GitHub)" <gi...@apache.org>.
vatsrahul1001 closed issue #46686: Variable value is not encrypted on Airflow 3 UI when 'secret' is part of the key
URL: https://github.com/apache/airflow/issues/46686


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org