Clerk
An agent asks for one of these keys by its usual variable name, CLERK_SECRET_KEY, and offprompt knows from the name which key it is. Under any other name, the agent says which with provider: "clerk/publishable_key" or the like.
| Key | Usual names | Under any other name |
|---|---|---|
| Secret key | CLERK_SECRET_KEY | provider: "clerk/secret_key" |
| Publishable key, shown in the clear | CLERK_PUBLISHABLE_KEY | provider: "clerk/publishable_key" |
Secret key
Made at dashboard.clerk.com/last-active. Looks like sk_test_….
- Starts with sk_live_ or sk_test_
- At least 20 characters
Publishable key
Made at dashboard.clerk.com/last-active. Looks like pk_test_….
- Starts with pk_live_ or pk_test_
- At least 20 characters