Skip to main content
All of the catalog
Scenario

Secrets Management & Rotation

A workload mounts a Vault-backed secret that External Secrets keeps in sync. You rotate the value in Vault; it must reach the running pod through ESO and the kubelet with no restart and no redeploy. The grade is what the running container reads from disk.

SecurityVerifiedk3dkind
Definition on GitHub

What you'll do

  • Compare two workloads consuming the same Vault-backed Secret - one as a file, one as an env var
  • Rotate the value in Vault with the vault CLI and watch it flow through ESO to the pod
  • Prove the rotation reached the file-mounted container with no restart and no redeploy
  • Show the env-var container never sees it, and say why that is not a bug
  • Read the rotation on ESO's own metrics rather than by polling kubectl

Stages

  1. 1consume

    Seed a known baseline in Vault and stand up two consumers of the same Secret - one mounting it as a file, one taking it as an env var

    secret-consumersseed-baselinerotation-dashboard

Prerequisites

--deploy-prereqs installs these into the lab for you. They are listed so you know what the scenario depends on.

ingressmonitoring/metricssecrets/vaultsecrets/external-secretsgo-api

Get updates

New scenarios and faults, release notes, and news about hosted labs if and when there is some. A few emails a month at most.

We'll email you about new releases, new lab content and paid offerings such as hosted labs, courses and workshops. Unsubscribe any time.