Managing Secrets in a Distributed World
summary
Explains concrete replication behavior in Vault 0.7–0.8: performance replication for read scaling, performance with mount filtering to avoid replicating specific mounts, and disaster recovery mode that replicates tokens and leases so a DR secondary can be promoted. Describes implementation: writes go to a WAL, update a Merkle tree, then stream via streaming WAL, fall back to Merkle diff and Merkle sync when out of date. Shows Kubernetes auth backend using service account JWTs, live demo of token issuance and renewal with a consul-template sidecar that successfully populates configs.
AI-written summary · about
chapters (23)
- 0:00Introduction to Vault secrets
- 1:05High availability vs replication
- 2:11Replication modes overview
- 4:17Performance mode with filtering
- 5:22Disaster recovery mode
- 6:03Cluster setup example
- 7:56Promoting secondary clusters
- 9:26Replication secondary states
- 10:11WAL and Merkle trees explained
- 13:54Streaming WAL mode
- 16:24Merkle diff state
- 17:49Merkle sync mode
- 18:52Replication use cases
- 19:14Kubernetes auth backend
- 21:49Backend configuration
- 22:54Creating roles for auth
- 24:47Demo setup overview
- 25:33Service account creation
- 26:38Simple Go application demo
- 28:35Kubernetes deployment
- 30:02Consul template sidecar demo
- 33:34Final demo results
- 34:19Q&A
