Vault Lab

This is playground for spring-booter to test integrating with Vault the Hashi-Corp product. Secret-Engines that are available now:

  • Transit : Encrypt and Decrypt


  • Install Vault and Run Vault

brew tap hashicorp/tap
brew install hashicorp/tap/vault
vault server -dev
  • Enable Vault’s Transit Secret Engine (Open New Terminal)
vault secrets enable transit

You can access local vault ui via Vault UI. You’ll notice in vault server dev running log on yellow highlighted text. Take the value of Root Token. You need to use value for authentication. Please set the root token value in application.yml.

Running Vault Lab

  • Go to Vault Lab App Folder

cd VaultLab
./gradlew bootRun

Reference Documentation

For further reference, please consider the following sections:

Additional Links

These additional references should also help you:


View Github