Heavy Rotation of Relational Hashicorp Vault Database Secrets in Spring

Written by usr42 | Published 2020/03/03
Tech Story Tags: hashicorp-vault | spring-boot | kotlin | databases | security | dynamic-secrets | secrets | spring

TLDR This is the second episode in a series of blog posts about how to handle the expiration of Hashicorp Vault generated dynamic database credentials in a Spring application. Spring leaves your application without a database connection when these credentials expire. This time I would like to show you how to renew the database credentials at runtime for relational databases if you use HikariCP. The costs for the approach are: more implementation effort (only relational databases supported) more effort (stricter prerequisites) and more work (optional)via the TL;DR App

no story

Published by HackerNoon on 2020/03/03