Interview Prep/DevSecOps/Secrets Management Architecture

How do you audit who accessed which secret?

BeginnerProductionSecrets Management Architecture
Answer
  • Vault: enable audit devices (vault audit enable file file_path=/vault/audit/audit.log) and ship logs to the SIEM; values are HMAC'd in logs.
  • AWS Secrets Manager: CloudTrail records GetSecretValue with caller identity.
  • Kubernetes: API server audit policy logging get on Secrets at Metadata level.

Build alerts for access outside normal callers and for human access to production secrets.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Secrets Management Architecture