#434

CLI command to create preview deploy keys

Requested

Submitted November 10, 2026

npx convex deployment token create only makes keys for a single deployment. Preview deploy keys can only be created in the dashboard or through the Management API, so scripts that set up a new project can't create them.

Could the CLI support it? For example:

npx convex deployment token create my-key --preview

Development Updates

No updates yet