Interview Prep/DevSecOps/Secrets Management Architecture

How do you solve the "secret zero" problem?

IntermediateProductionSecrets Management Architecture
Answer

Do not give workloads a bootstrap secret at all; use an identity the platform already proves. Kubernetes pods authenticate to Vault with their projected service account token (kubernetes or jwt auth), EC2/Lambda with their IAM role (aws auth), CI jobs with OIDC tokens. The secrets manager verifies the identity with the issuer and returns a short-lived token scoped by policy. The only remaining "secret" is the platform's own signing key, which the cloud provider protects.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Secrets Management Architecture