potiuk commented on issue #19217:
URL: https://github.com/apache/airflow/issues/19217#issuecomment-970345984


   > The _SECRET specifically looks for airflow/config/sql_alchemy_conn in AWS 
secrets manager where the value needs to be postgresql+psycopg2://<>@<> like 
connection string instead of separate parameters like username, password, 
dbinstance, etc.
   > Having a plain connection string causes issue in maintenance as well as 
rotation after specific interval of time
   
   
   ```
   #!/bin/bash
   password=$(command to RETRIEVE_CONNECTION_FROM_SECRET)
   echo "postgresql+psycopg2://your_user:${password}/.....@<>"
   ```
   
   


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