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
GetSecretValuewith caller identity. - Kubernetes: API server audit policy logging
geton Secrets at Metadata level.
Build alerts for access outside normal callers and for human access to production secrets.
More on Secrets Management Architecture
How would you design a secrets management architecture for a multi-cloud, multi-cluster company?AdvancedVault vs AWS Secrets Manager: how do you choose in production?IntermediateHow do you run Vault in production for high availability?AdvancedHow do you solve the "secret zero" problem?IntermediateHow do Vault dynamic database credentials work operationally, and what can go wrong?AdvancedHow does AWS Secrets Manager rotation work under the hood?Intermediate