This is a modified version of Brian Kassouf's repo: vault-kubernetes-demo.
Updates in this fork:
- Using application specific namespaces
- Updated main.go application to read Environment variables
- Updated Vault CLI commands
Important: this is a demo. Please do not use this in production.
This is a demo on how to setup the Vault Kubernetes Auth method. The guide will provide steps to configure a Kubernetes Auth method, create service accounts in Kubernetes and run demo applications on Kubernetes that can successfully authenticate to Vault and retrieve a secret.
Git clone this repo using the command below and follow README guides:
git clone https://github.com/kawsark/vault-kubernetes-demo.git
cd vault-kubernetes-demo
This guide has a few parts:
- Configure Kubernetes
- Configure Vault server
- Deploy the basic example
- Deploy the sidecar example Note: pending updates
- Deploy the AWS secrets engine example Note: pending updates