Skip to content

Commit 3990ec1

Browse files
Apply suggestions from code review
Co-authored-by: Matt Silverlock <[email protected]>
1 parent b76285c commit 3990ec1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/content/changelog/r2/2025-03-06-r2-bucket-locks.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ date: 2025-03-06T10:00:00Z
88

99
You can now use [bucket locks](/r2/buckets/bucket-locks/) to set retention policies on your [R2 buckets](/r2/buckets/) (or specific prefixes within your buckets) for a specified period — or indefinitely. This can help ensure compliance by protecting important data from accidental or malicious deletion.
1010

11-
Buckets can have up to 1,000 [bucket lock rules](/r2/buckets/). Each rule specifies which objects it covers (via prefix) and how long those objects must remain retained. You can:
11+
Locks allow you to:
1212

1313
- Lock objects for a specific duration. For example, 90 days.
1414
- Retain objects until a certain date. For example, until January 1, 2030.
1515
- Keep objects locked indefinitely.
16+
Buckets can have up to 1,000 [bucket lock rules](/r2/buckets/). Each rule specifies which objects it covers (via prefix) and how long those objects must remain retained.
17+
1618

1719
Here's how you can add a bucket lock rule with [Wrangler](/workers/wrangler/):
1820

0 commit comments

Comments
 (0)