Skip to main content
All of the catalog
Scenario

Secrets Management & Rotation

go-api consumes a Vault-backed secret synced by External Secrets. Stage 1 wires the sync and seeds a baseline value; stage 2 rotates it in Vault. A check verifies the new value propagated to the Kubernetes Secret with no redeploy.

SecurityVerifiedk3dkind
Definition on GitHub

What you'll do

  • Sync a Vault KV secret into a Kubernetes Secret via External Secrets
  • Rotate the secret in Vault and watch it propagate without a redeploy
  • Treat rotation, not redeploy, as the way secrets change

Stages

  1. 1consume

    Wire the Vault->ESO->Secret sync and seed a baseline value

    es-wiringseed-baseline
  2. 2rotate

    Rotate the value in Vault and let ESO propagate it

    rotate-secret

Prerequisites

These are installed into the lab cluster for you — listed so you know what the scenario actually depends on.

secrets/vaultsecrets/external-secretsgo-api

The incident field notes

One real Kubernetes failure a week — the symptom, the commands that found it, and the fix. Written from actual lab runs, not from memory.

You'll get the Kubernetes Incident Response Field Guide, plus occasional emails about new scenarios, posts and paid offerings such as courses and workshops. Unsubscribe any time.