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?
App retrieves v1 creds for database from vault
App connects to database with v1 creds
After X minutes/hours vault rotates the credentials and creates v2 creds
App attempts to execute a query with v1 credentials, but exception occurs, App retrieves latest v2 creds.