How to connect HashiCorp Vault With Spring Boot Application | Setup HashiCorp Vault

preview_player
Показать описание
In this tutorial I explained how we can setup HashiCorp vault with spring boot application to store and retrieve application secrets and few other sensitive configuration values in secure way.

Please find below few details about hashi corp and few commands related to that
2. Check version of vault
a. Open cmd and run command - vault -version
3. For starting vault server use below command
a. vault server -dev
4. Get value from vault
a. vault kv get -mount=secret vaultdemo
5. Put value into vault

#java #springboot #javatechsolutions

Рекомендации по теме
Комментарии
Автор

Thanks for your explanation! It helped me a lot

jevillac
Автор

Hi Sir, Please let me know, what are the request parameters you have set in Postman.Since I am not getting the desired result.

ergopal
Автор

i wanted to fetch password for database connectivity. do we need to restart the java app if password rotates/changed ? how can we achieve to fetch new password without restart app?😊

paragbhangale
Автор

Thanks for the video. Can you show any example of how to use vault with spring cloud config as centralized properties server, where the services connecting will retrieve secrets from vault? I also implemented a database backend for the spring cloud config server. I tried but it does not work.

ai_made_easy
Автор

but every time i close the vault server now everything i saved in vault gets permanently deleted, so whats the point? how is this supposed to work if i have to recreate the values every time i run the whole thing again?

also should i start vault through docker? how can i persist data i saved in vault?

TikTokTrendsCompilation