ozvault home

ORGANIZATION

Create projects and private buckets

Organize storage into projects and buckets with ownership checks and scoped credentials.

Start with a project

#

Projects group buckets by application or purpose. Create one in the dashboard, or call the SDK with a credential containing projects:write. Project names are display labels.

TypeScript
const project = await vault.createProject('My application');

Create a bucket

#

Bucket names use lowercase letters, digits and hyphens, with 2–63 characters. Each bucket belongs to one project and one account. Buckets are private; creating one does not publish its objects.

TypeScript
const bucket = await vault.createBucket(project.id, 'documents');

Keep credentials narrow

#

A bucket-scoped key can list and modify only its bucket when the corresponding scopes are present. Creating a bucket requires an account-level or matching project-level key. Remove dependent objects, upload records and scoped keys before removing a bucket.

Clear documentation is part of the product.