#vault - June 2022

vaultArchived
1 messages

:vault: Discussions related to Hashicorp Vault

Andy
Andyover 4 years ago
Hi all does anyone use the database password rotation feature in their applications that retrieve secrets from vault? I can't find examples of how applications should handle a password being refreshed. Should it be done by exception handling?

1. App retrieves v1 creds for database from vault
2. App connects to database with v1 creds
3. After X minutes/hours vault rotates the credentials and creates v2 creds
4. App attempts to execute a query with v1 credentials, but exception occurs, App retrieves latest v2 creds.