Storj
Introduction
Storj is a decentralized cloud storage platform that offers secure, private, and cost-effective data storage. By distributing data across a global network of nodes, Storj ensures highly-available and resilient data access, while securing cost savings to up to 90% than traditional cloud providers.
Follow the guide below to set up an account and get S3-compatible access keys on Storj:
Storj Secret
If your Storj bucket requires authentication for read or write access, set up a secret to store your S3-compatible credentials securely with ByteNite (see 🔐 Setting up secrets)
Here's an example of a request body of the Secrets endpoint for saving Storj keys:
{
"secret": {
"id": "my_storj_secret",
"secretType": "storj",
"expiresAt": "2025-12-29T18:02:27.140Z",
"accessKey": "jwcxl2mccgasmhs1dcir5ex4mple",
"name": "Storj Full Access S3 Keys - Project 'My App'"
},
"secretKey": "jzwi4pcamnhyjpldu4my2cmfscmg55slex4mpleex4mpleex4mple"
}
Storj Data Source Object
Set up your data source with Storj using the your previously configured storj secret and the following params
:
Here is an example Storj data source and destination request body:
{
"dataSource": {
"dataSourceDescriptor": "storj",
"params": {
"@type": "type.googleapis.com/bytenite.data_source.S3DataSource",
"name": "/vids/big_buck_bunny.mp4",
"bucketName": "my-app-data-bucket-12345",
"cloudRegion": "global",
"secret_id": "my_storj_secret"
}
},
"dataDestination": {
"dataSourceDescriptor": "storj",
"params": {
"@type": "type.googleapis.com/bytenite.data_source.S3DataSource",
"name": "/vids/encoded/",
"bucketName": "my-app-data-bucket-12345",
"cloudRegion": "global",
"secret_id": "my_storj_secret"
}
}
}
Last updated
Was this helpful?