Jamie's Blog

Building the future, one line of code at a time.

Vault Agent with Kubernetes

Nearly all requests to Vault must be accompanied by an authentication token. This includes all API requests, as well as via the Vault CLI and other libraries, therefore application running in kubernetes is no exception. Luckily, Vault provides Kubernetes auth method to authenticate the clients using a Kubernetes Service Account Token, and Vault Agent which could be leveraged to automatically inject the secrets from vault into kubernetes pods through init container pattern.

Vault on Kubernetes

Install Vault on K8S with integrated storage via Helm

To setup a HA Vault Cluster in Kubernetes