| Flag | Description |
|---|---|
-r, --read-only | Create a read-only token (queries only, no writes) |
-p, --permissions | Set fine-grained permissions per table and action |
-e, --expiration | Set token expiration (never, 7d, 30d, etc.) |
Authorization
Platform Tokens
Create tokens for a single database or all databases in a group using the CLI:
You can control token scope, permissions, and expiration:
You can also create tokens using the Platform API.