GitHub user potiuk added a comment to the discussion: How to update a 
connection password (secret rotation)?

For that you should use secrets managers - and use Secrets manager's to update 
APIs. Generally the idea is that connections are largerly "read only" for 
Airflow and rotation is managed outside. When your Dag gets a password that has 
been rotated - it's something that should not happen - your password should be 
rotated in airflow connection from outside WHEN it is rotated - not when random 
Dag finds that it should be rotated. It's not only too late but also brittle 
(which taks is changing it) 

GitHub link: 
https://github.com/apache/airflow/discussions/63862#discussioncomment-16191041

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to