Stripe
An agent asks for one of these keys by its usual variable name, such as STRIPE_SECRET_KEY, and offprompt knows from the name which key it is. Under any other name, the agent says which with provider: "stripe/publishable_key" or the like.
| Key | Usual names | Under any other name |
|---|---|---|
| Secret key | STRIPE_SECRET_KEY, STRIPE_API_KEY, STRIPE_SK | provider: "stripe/secret_key" |
| Publishable key, shown in the clear | STRIPE_PUBLISHABLE_KEY, STRIPE_PK | provider: "stripe/publishable_key" |
| Webhook signing secret | STRIPE_WEBHOOK_SECRET | provider: "stripe/webhook_secret" |
Secret key
Made at dashboard.stripe.com/apikeys. Looks like sk_test_….
- Starts with sk_live_, sk_test_, rk_live_ or rk_test_
- At least 30 characters
Publishable key
Made at dashboard.stripe.com/apikeys. Looks like pk_test_….
- Starts with pk_live_ or pk_test_
- At least 30 characters
Webhook signing secret
Made at dashboard.stripe.com/webhooks. Looks like whsec_….
- Starts with whsec_
- At least 20 characters