Request AccessStorage

Cloudflare R2

Zero-egress object storage

Cloudflare R2 provides S3-compatible object storage with zero egress fees, ideal for frequently-accessed data.

Features

S3-compatible API
Zero egress fees
Global distribution
Workers integration
Lifecycle rules

Integration Example

Use Cloudflare R2 through Keystore with zero code changes. Keys are resolved from the vault and injected at request time.

cloudflare-r2-example.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import Keystore from "@keystore/sdk";

const ks = new Keystore({ agentToken: process.env.KS_TOKEN! });
ks.interceptAll();

// All requests to Cloudflare R2's API are automatically
// intercepted and routed through the Keystore proxy.
// Real credentials are injected server-side.
const res = await fetch("https://api.cloudflare-r2.com/v1/...", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ /* your payload */ }),
});
const data = await res.json();
console.log(data);

Use Cases

Media storage
Backup storage
CDN origin
Data lakes

Ready to use Cloudflare R2?

Request access and our concierge team will provision credentials for you — usually within 24 hours. No setup on your end.

Request Access