This repository is a collection of ways to configure Hashicorp Vault in code.
I decided to make the setup of Vault a bit more complex than just running the binary because future iterations may expand on the infrastructure. Here we use kind to simulate a kubernetes environment and helm to deploy Vault.
The different ways to configure Vault as code are defined as "labs" below. Each lab will be a self-contained way of configuring a specific aspect of Vault. They can all be combined into one configuration, but it's good to isolate each concern for learning purposes.
This will set up a kubernetes cluster with kind, install Vault using helm, and port forward port 8200 into the cluster.
./bootstrap.sh
./destroy.sh