B. Blue Green a software delivery tutorial
Vol. I § Zero-downtime series § A series for junior developers
Zero-downtime delivery · 9 / 10 ·

Vault Agent writes secrets into memory

Secrets live in Vault, at secret/data/apps/titikterang. The app container reads a file the agent writes to /vault/secrets.

Vault AgenttmpfstitikterangThe agent writes secrets into memory. The image holds none.

The app waits until the agent is healthy. The RoleID and wrap token sit in a host directory that is read-only, not in the image and not in compose.

Do not write a password into Dockerfile.app. If that file leaks, the secret leaks with it.

Reader notes

Chapter discussion appears once Giscus is connected to the site repository.