An application has authenticated to Vault and has obtained dynamic database credentials with a lease of 4 hours. Four hours later, the credentials expire, and the application can no longer communicate with the backend database, so the application goes down. What should the developers instruct the application to do to prevent this from happening again while maintaining the same level of security?
Comprehensive and Detailed in Depth
To prevent application downtime due to expired dynamic credentials while maintaining security, the application should renew the lease before it expires. The HashiCorp Vault documentation states: 'The application should frequently 'check-in' with Vault and renew the lease to prevent the lease from expiring.' It adds: 'A lease must be renewed before it has expired. Once it has expired, it is permanently revoked and a new secret must be requested.'
The docs elaborate: 'Dynamic secrets are designed to be short-lived and automatically rotated or revoked when their lease expires. Renewing the lease extends its validity, ensuring continuous access without compromising the security benefits of short-lived credentials.' A (Static credentials) reduces security by eliminating rotation. C (Revoke) ends access early. D (Different auth method) doesn't address lease management. Thus, B is correct.
HashiCorp Vault Documentation - Leases: Lease Renew and Revoke
Vesta
4 months agoLizette
4 months agoKathrine
4 months agoAnnett
4 months agoMadelyn
5 months agoSimona
5 months agoGilma
5 months agoNieves
5 months agoShay
6 months agoAllene
6 months agoAmber
6 months agoLouann
6 months agoRegenia
6 months agoJoanna
6 months agoTerrilyn
11 months agoGlendora
10 months agoMozell
10 months agoMalcom
10 months agoBernardine
10 months agoCathrine
11 months agoReed
11 months agoRashad
10 months agoDannie
10 months agoClarinda
10 months agoChauncey
12 months agoDanica
11 months agoHerman
11 months agoShawnee
12 months agoAlfreda
12 months agoMelda
1 year agoNieves
1 year agoFidelia
11 months agoDelila
11 months agoErin
11 months agoEleonora
11 months agoLetha
11 months agoCherry
11 months agoJaime
11 months agoMalcom
12 months agoMelda
1 year ago