To use Backblaze B2 (a low-cost S3-compatible cloud storage service), you’ll need credentials and a bucket setup. Here’s how to generate those:
✅ Step-by-Step: Create Backblaze B2 Storage Credentials
Step 1: Sign Up or Log In
Go to: https://www.backblaze.com/b2/cloud-storage.html
Log in or create a free account.
Step 2: Create a Bucket
- Navigate to the B2 Cloud Storage tab.
- Click on Buckets → Create a Bucket
- Enter:
- Bucket name (e.g.,
next3-bucket) - Type: Public or Private
- Bucket name (e.g.,
- Click Create Bucket
Step 3: Generate Application Key
- Go to the App Keys section (left sidebar).
- Click Add Application Key
- Configure:
- Name: e.g.,
next3-plugin - Capabilities: Choose the level (e.g.,
readFiles,writeFiles,deleteFiles) - Bucket: Choose a specific bucket or allow access to all
- Name: e.g.,
- Click Create New Key
You’ll get:
- KeyID (acts as
Access Key ID) - Application Key (acts as
Secret Access Key) - S3 Endpoint (if S3-compatible mode is enabled)
⚠️ Save this now. You cannot retrieve the Application Key again later.
Step 4: Enable S3-Compatible API (Optional but recommended)
- Go to the Buckets section.
- Click on your bucket.
- Under Details, you’ll see “S3 Endpoint” like:
s3.us-west-004.backblazeb2.com
✅ Your Backblaze B2 Credentials (S3-Compatible)
| Field | Value |
|---|---|
| Endpoint URL | https://s3.us-west-004.backblazeb2.com (or your specific region) |
| Access Key ID | From App Key creation (KeyID) |
| Secret Access Key | From App Key creation (Application Key) |
| Bucket Name | e.g., next3-bucket |
Example:
Access Key ID: 000c1e...abcd
Secret Access Key: K000e23...xyz
Endpoint: https://s3.us-west-004.backblazeb2.com
Bucket: next3-bucket