Interview Prep/DevSecOps/Secrets Management Architecture

How do you detect secret misuse after a secret has been distributed?

AdvancedProductionSecrets Management Architecture
Answer
  • Audit logs from the secrets manager (Vault audit device, CloudTrail GetSecretValue) alerting on unusual callers, volumes or source IPs.
  • Cloud-side detection: GuardDuty findings such as UnauthorizedAccess:IAMUser/InstanceCredentialExfiltration.OutsideAWS for credentials used off-instance.
  • Canary tokens: fake credentials planted in repos, CI and config that alert when used.
  • Provider-side "last used" data for API keys.

Pair detection with fast revocation; detection without the ability to rotate quickly just tells you how bad it is.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Secrets Management Architecture