Connect Opndrive to Backblaze B2
B2 offers an S3-compatible endpoint alongside its native API, and Opndrive uses the former. Create an application key scoped to the bucket you want to browse.
Step 1, complete
Provider
SelectedBackblaze B2Low-cost cloud storageChange
2, current step
Add credentials
3, not started
Open your drive
Setting up Backblaze B2Optional
1. Allow this site in CORS
CORS on B2 is set from the command line. Install the b2 CLI, authenticate, then apply a CORS rules file to the bucket.
2. Paste this policy
[
{
"corsRuleName": "cors-rules",
"allowedOrigins": [
"https://your-domain.com",
],
"allowedHeaders": ["*"],
"allowedOperations": [
"s3_get",
"s3_put",
"s3_delete",
"s3_head"
],
"exposeHeaders": [
"ETag"
],
"maxAgeSeconds": 3600
}
]Replace https://your-domain.com with the address you use Opndrive from.
3. Permissions the key needs
- listFiles
- readFiles
- writeFiles
- deleteFiles
Worth knowing
The B2 console has no CORS editor, so this is the one provider here where you cannot finish setup in a web dashboard.