HashiCorp Vault is a popular tool for securely storing and accessing secrets such as credentials, API keys, and certificates. Vault provides secure secret storage, on-demand dynamic secrets, data encryption, and support for secret revocation.
In this section, we will cover the installation and basic use case of accessing and storing secrets for Kubernetes.
Clone the k8sdevopscookbook/src repository to your workstation to use the manifest files in the chapter9 directory, as follows:
$ git clone https://github.com/k8sdevopscookbook/src.git
$ cd src/chapter9
Make sure you have a Kubernetes cluster ready and kubectl and helm configured to manage the cluster resources.
How to do it…
This section is further divided into the following subsections to make this process easier:
- Installing Vault on Kubernetes
- Accessing the Vault UI
- Storing credentials on Vault
Installing Vault on Kubernetes
This recipe will show you how to get a Vault...