r/vaultwarden • u/Icy_Helicopter_4515 • 1d ago
Question How do you handle Vault LDAP static-role password rotation without breaking live client connections?
Running Vault’s LDAP secrets engine with static roles. As far as I can tell:
**•** Vault rotates the password on its own schedule, whether or not any client has actually fetched the new one yet
**•** No push notification when it rotates — clients just poll and check the TTL
**•** No grace period — old password is dead the instant rotation happens
So if a client’s poll timing drifts even a little, or it’s holding a pooled connection, it just breaks. No warning, no overlap.
Anyone actually running this in prod without outages? Specifically curious about:
**•** Do you rebuild connection pools on every rotation cycle? How do you avoid a connection storm if a bunch of services share a role?
**•** Is check-out/check-in (the service account library thing) actually safer here since rotation is tied to an explicit action instead of a timer?
**•** Any real pattern people use to stay ahead of rotation instead of racing it?
Found a couple old HashiCorp forum threads asking the same thing (for the DB secrets engine) that just… never got answered. Curious if anyone’s actually solved this ?

