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.
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.
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.