governance mode
An S3 Object Lock setting where locked objects are protected from most users, but people with a special permission can still delete them early.
In more detail
In governance mode, anyone granted the s3:BypassGovernanceRetention permission can remove the lock or shorten retention by sending an explicit bypass header. That makes it easy to fix mistakes and to test retention settings. It also means that an attacker who steals an admin role holding that permission can delete the backups too, so it is weaker protection than compliance mode.
Examples
"Mode": "GOVERNANCE"aws s3api delete-object --bucket <bucket> --key <key> --version-id <id> --bypass-governance-retentionRelated terms
- compliance mode — An S3 Object Lock setting where nobody, not even the account's root user, can delete a locked object or shorten its retention before it expires.
- S3 Object Lock — An S3 feature that stores objects in write-once, read-many form, so they cannot be deleted or overwritten until a retention date.
- immutable — Something that cannot be changed after it is created; to change it you make a new one.
Taught in
- Protecting Data: Versions, Object Lock, Backups And Secrets — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Long-Stem Clinic: The Phrase That Decides — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Backup Architectures: 3-2-1, Immutability & Air-Gaps — Cybersecurity Fundamentals, GRC & Cryptography