Skip to content
Discussion options

You must be logged in to vote

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)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@AchimGaedkeLynker
Comment options

@potiuk
Comment options

potiuk Mar 18, 2026
Collaborator

Answer selected by AchimGaedkeLynker
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants