All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Security
Security
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

R2 - Set retention polices for your R2 bucket with bucket locks

1y ago

Source

CloudflareR2 - Set retention polices for your R2 bucket with bucket lockscloudflare.com
Snippet from the RSS feed
You can now use bucket locks to set retention policies on your 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. Locks give you a few ways to ensure your objects are retained (not deleted or overwritten). You can: Lock objects for a specific duration, for example 90 days. Lock objects until a certain date, for example January 1, 2030. Lock objects indefinitely, until the lock is explicitly removed. Buckets can have up to 1,000 bucket lock rules . Each rule specifies which objects it covers (via prefix) and how long those objects must remain retained. Here are a couple of examples showing how you can configure bucket lock rules using Wrangler : Ensure all objects in a bucket are retained for at least 180 days npx wrangler r2 bucket lock add --name 180-days-all --retention-days 180 Prevent deletion or overwriting of all logs indefinitely (via prefix) npx wrangler r2 bucket lock add --name indefinite-logs --prefix logs/ --retention-indefinite For more information on bucket locks and how to set retention policies for objects in your R2 buckets, refer to our documentation .

You might also wanna read

Mythos-class AI models to retain user prompts and outputs for 30 days under new safety policy

The article announces a new data retention policy for Mythos-class AI models, effective June 9, 2026. Prompts and outputs from these high-ca

support.claude.com·25d ago

Mythos-class AI models to retain user prompts and outputs for 30 days under new safety policy

The article announces a new data retention policy for Mythos-class AI models, effective June 9, 2026. Prompts and outputs from these high-ca

support.claude.com·25d ago

Keeper: A Cryptographic Secret Management Tool for Go Applications

Keeper is a cryptographic secret management tool for Go applications that provides secure storage for sensitive data. It uses Argon2id key d

github.com·2mo ago

The 4-Year Journey to Creating a Python Lock File Specification

This article details the author's 4-year journey to create a lock file format specification for Python dependency management. The author exp

snarky.ca·8mo ago

Deployment-Time Memorization in Foundation-Model Agents: Privacy-Utility Tradeoffs in Persistent Memory Systems

This paper introduces the concept of "deployment-time memorization" in foundation-model agents, where memory is an explicit function during

arxiv.org·20d ago

The Global Namespace Risk: Universal Bucket Hijacking Technique for Cloud Data Exfiltration

unit42.paloaltonetworks.com·12d ago

AWS Implements Solution to S3 Bucketsquatting Security Issue After Decade-Long Problem

AWS has finally implemented a solution to the decade-long bucketsquatting/bucketsniping security issue in S3 storage. The author, who has be

onecloudplease.com·3mo ago

Comments

Sign in to join the conversation.

No comments yet. Be the first.