Join our Newsletter — 33% off our NHI Course
Home› Glossary› Governance, Ownership & Risk› Object-Locked Bucket
Governance, Ownership & Risk

Object-Locked Bucket

← Back to Glossary
By NHI Mgmt Group Updated November 25, 2026 Domain: Governance, Ownership & Risk

An object-locked bucket is a cloud storage bucket configured so stored objects cannot be altered or deleted for a defined retention period. It uses write-once, read-many style controls, often with retention modes and legal hold settings, to protect records against tampering, ransomware and accidental removal.

What an object-locked bucket does

An object-locked bucket turns ordinary cloud object storage into a tamper-resistant record store. Once an object is written under an active retention rule or legal hold, it cannot be deleted or changed until the policy allows it, which makes the bucket useful for immutable backups, evidence preservation and regulated records.

The practical distinction is that the protection applies to the stored object, not just to the folder or application around it. That means the storage control itself becomes part of the assurance model, because the bucket is being asked to preserve integrity even when credentials, admin mistakes or ransomware are in play.

Object lock is usually built around two ideas: retention periods and legal hold. A retention period defines how long an object must remain immutable, while a legal hold pauses removal until the hold is cleared. In practice, this lets organisations preserve records for a fixed window or suspend deletion during investigation, audit or litigation.

Implementations vary by cloud provider, but the underlying behaviour is similar, write protection is enforced at the storage layer rather than by application logic. That matters because a compromise of the application should not automatically mean the data can be rewritten or wiped.

Why object immutability matters for backup and records protection

Object-locked buckets are most valuable when the primary threat is deletion or silent tampering. They reduce the chance that a backup admin error, malicious insider action or attacker with stolen cloud credentials can simply erase the recovery copy. For that reason, they are often used for ransomware resilience and for preserving audit or evidentiary records.

They are not a full backup strategy on their own, though. A locked bucket protects the stored version, but it does not verify that the data is complete, restorable, properly classified or isolated from every other failure mode. The control works best as one layer in a broader backup and recovery design.

For a broader comparison of immutable and offline recovery patterns, see Immutable Backups vs Offline Backups.

Exposure, abuse and operational trade-offs

Because object lock is meant to prevent deletion, it can also make legitimate recovery, disposal or data subject deletion harder if retention is configured too aggressively. The main governance question is whether the retention period is long enough to resist tampering but not so long that it conflicts with operational needs, legal obligations or storage cost management.

The control also depends heavily on who can set, shorten or bypass retention. If privileged cloud access is weakly governed, an attacker may target the bucket configuration, not just the objects themselves, to remove future protection or create a destructive workflow around a second copy.

See the ransomware case study in Codefinger S3 ransomware 2025 for an example of how compromised cloud keys can be used against storage resources, and review Backup Security and Immutable Backup Guide for the broader design pattern that object lock fits into.

Risk and Threat Considerations

Object-locked buckets reduce tampering risk, but they also concentrate trust in retention configuration, privileged access and restore design. If those controls are weak, an attacker may still damage the organisation by targeting the bucket before lock is applied, by abusing admin authority over policy settings, or by leaving the business unable to meet deletion or recovery obligations.

Failure mechanism: The most common failure modes are misconfigured retention, overly broad administrator privileges, lock applied too late in the data lifecycle, or recovery procedures that assume immutability means full recoverability.

Impact: The result can be backup deletion, delayed restoration, irreversible retention mistakes, compliance conflict or prolonged ransomware impact when the protected copy is the only viable recovery source.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5 and CIS Controls v8 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5SI-12 — Information Management and RetentionObject lock enforces retention and immutable handling of stored records.
AC-6 — Least PrivilegeRetention settings and deletion bypass depend on tightly limited privileged access.
CP-9 — System BackupLocked buckets are commonly used to preserve backup copies against tampering and deletion.
Recommendation — Define and enforce retention rules so protected objects cannot be altered or deleted before the approved period ends. Restrict who can change bucket retention, legal holds and delete-bypass permissions. Store backup copies in immutable storage and validate that restore operations still work.
CIS Controls v8CIS-11 — Data RecoveryImmutable object storage supports resilient recovery by preserving recoverable copies.
Recommendation — Protect recovery copies from deletion or modification and test restoration regularly.
ISO/IEC 27001:2022A.8.13 — Information backupObject lock supports backup protection by preserving stored copies against alteration or removal.
Recommendation — Use immutable storage for critical backups and verify that retained copies remain restorable.

Practitioner Guidance

Why practitioners should care: Treat object lock as a control that only works when retention policy, access governance and recovery testing are designed together. A locked bucket is strongest when the retention period matches the business need, the lock can only be changed by tightly controlled roles, and restore testing proves the data is actually usable.

What to watch for: Pay particular attention to buckets that are newly created, not yet locked, or managed by accounts that also have broad administrative power elsewhere in the cloud environment. Those are the places where the protection can be undermined before immutability takes effect.

Practitioner takeaway: Object lock is a storage integrity control, not a substitute for backup governance, separation of duties or restore validation.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org