Access Control
Cheat sheet · https://pcornel.dk/topic.php?topic=5068
Answer
Access control for secrets grants each application or person only the specific secrets they need, using identity-based policies in the vault, with every access logged.
Remember
- Grant per secret, not per vault.
- Use identity-based policies.
- Log every read.
First checks
vault policy read <policy>— who can read whataws secretsmanager get-resource-policy --secret-id <id>— resource policy- Audit logs of secret reads — usage
Verify in this order
identity → policy → secret path
Where it usually breaks
First mismatch in key/secret generation → storage/rotation → trust/certificate validation → protocol negotiation → cryptographic operation → peer/application verification; preserve identity/policy/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5068