envs

Clerk — authentication

clerk/auth · version 1

envs add clerk/auth

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
CLERK_SECRET_KEY required secret Clerk says this must never be exposed on the frontend.. Shape ^sk_(test|live)_[A-Za-z0-9]{10,}$. where to get it
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY required config Meant for the frontend. The key is the same whatever the framework; only the prefix on the name changes, so a Vite project calls it VITE_CLERK_PUBLISHABLE_KEY.. Shape ^pk_(test|live)_[A-Za-z0-9]{10,}$. where to get it
CLERK_WEBHOOK_SIGNING_SECRET optional secret Verifies a webhook came from Clerk. No shape documented.. where to get it

The JSON the CLI reads