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.
In more detail
Governance mode lets specially permitted users lift the lock; compliance mode does not let anyone, even the root user. For audit logs it turns proof of tampering into prevention of tampering, even against administrators in compliance mode.
Examples
{"ObjectLockEnabled": "Enabled", "Rule": {"DefaultRetention": {"Days": 30, "Mode": "COMPLIANCE"}}}aws s3api put-object-lock-configuration --bucket <bucket> --object-lock-configuration file://lock.jsonRelated terms
- log file integrity validation — A CloudTrail feature that writes an hourly signed digest of every log file's hash, so edits and deletions can be proven later.
- S3 Versioning — An S3 bucket setting that keeps every version of every object, so overwritten or deleted objects can be recovered.
- 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.
- 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.
- immutable — Something that cannot be changed after it is created; to change it you make a new one.
- legal hold — An instruction from legal counsel that the organisation must stop deleting anything relevant to an incident or dispute.
Taught in
- Auditing: Who Opened Port Twenty Two? — AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep
- Pipeline Security: The Build Role That Could Do Anything — AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep
- Private Paths: VPC Endpoints And PrivateLink — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- KMS And Envelope Encryption: Who Can Still Decrypt? — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- 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
- CloudTrail Logging, Integrity Validation & Athena — Cloud Security & DevSecOps Engineering
- Backup Architectures: 3-2-1, Immutability & Air-Gaps — Cybersecurity Fundamentals, GRC & Cryptography