Key format
bludia_production_k3x9qa) is the key prefix. It’s shown in the dashboard so you can tell keys apart. Bludia stores only a SHA-256 hash of the full key.
Create a key
Go to API → API Keys → Create key and fill in:For
end_users keys, what each user can do is enforced by their role permissions and row policies. A platform key has full access to the project, so keep it secret.Recommended setup
Use separate keys per app and environment so you can revoke one without affecting the others.
Edit, rotate, and revoke
- Edit: you can change a key’s name, environment label, permissions, rate limit, expiry, and allowed origins. The secret never changes.
- Rotate: create a new key, deploy it, then revoke the old one.
- Revoke: revoked keys stop working immediately and return
403 API key revoked.
Key errors
Security tips
Keep platform keys server-side
Keep platform keys server-side
Load them from environment variables or a secret manager. Never commit them to Git.
Restrict browser keys with allowed origins
Restrict browser keys with allowed origins
List exact origins such as
https://app.example.com. Avoid * in production.Set expiries on temporary keys
Set expiries on temporary keys
Keys for contractors, demos, or one-off migrations should expire.
Review last used
Review last used
Revoke keys that haven’t been used in a long time.
