Taragolis opened a new pull request, #29142:
URL: https://github.com/apache/airflow/pull/29142

   Right now if we try to get SecureString by `SsmHook.get_parameter_value` 
then we get encrypted value, which is useless for further usage without 
decryption.
   
   ```python
   from airflow.providers.amazon.aws.hooks.ssm import SsmHook
   
   hook = SsmHook(aws_conn_id=None, region_name="eu-west-1")
   print(hook.get_parameter_value("/airflow/config/boom"))
   ```
   
   **Without this changes**
   
   ```console
   AQICAHiA4cbp5//uho/.../Mlb3cleB4/7XXjkh
   ```
   
   **After this changes**
   ```console
   postgresql+psycopg2://airflow:insecurepassword@postgres/airflow
   ```
   
   WDYT, should we also mask value if value has type `SecureString`?
   


-- 
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-unsubscr...@airflow.apache.org

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

Reply via email to