ozvault home

ACCESS CONTROL

Create and rotate scoped API keys

Issue expiring credentials, restrict them to projects or buckets, and revoke them safely.

Create a key

#

In API Keys, choose a label, expiration, scopes and optional project or bucket restrictions. Creating a key requires a Discord sign-in within the last ten minutes; reconnect Discord in Settings if prompted. New credentials expire in 1–365 days. The full key is shown once. The database stores a SHA-256 verifier and a short display prefix. Each account can store up to 100 API keys.

Send the credential

#

Use Authorization: Bearer on versioned API requests. Keep the credential in a protected server environment or secret manager. Never add it to NEXT_PUBLIC variables, query strings or committed source.

HTTP header
Authorization: Bearer <your-ozvault-api-key>

Rotate without downtime

#

Create a replacement with equivalent or narrower scopes, update your trusted application, confirm requests work, then revoke the old key. Revocation prevents subsequent requests immediately. Already issued upload and share capabilities retain their individual lifetime; revoke shares and cancel uploads separately.

Clear documentation is part of the product.