Find and create keys in Developers → API keys.
| Key | Starts with | Use it for |
|---|---|---|
| Publishable | sov_pk_ | Code in the browser or an app. It's public by design. |
| Secret | sov_sk_ | Your server only. It can do everything. |
| Restricted | sov_rk_ | A secret key limited to the resources and access levels you choose. |
Each key also says its mode: sov_sk_test_… works only with test data, sov_sk_live_… only with live data.
Keep secret keys secret
- Never put a secret or restricted key in a browser, an app, a public repository or a support message.
- Give each system its own restricted key with only what it needs.
- Add an IP allow-list or an expiry date to a key where you can.
- If a key may have leaked, roll it right away from the same page.
People with the Developer role can create test keys, but not live secret keys.
Related articles
Still need help?
Tell us what happened, and our support team will help.