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-retention

Related terms

Taught in

References

Certification courses