Skip to content

Show the sk_v2_ secret key format - #147

Merged
pws-kj merged 1 commit into
mainfrom
karl/docs-sk-v2-secret-keys
Dec 2, 2026
Merged

pws-kj merged 1 commit into
mainfrom
karl/docs-sk-v2-secret-keys

Conversation

@pws-kj

@pws-kj pws-kj commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

New Magic secret keys use the format sk_v2_ followed by 64 hexadecimal characters (magiclabs/dashboard-api#499). Keys created before then start with sk_live_ and keep working until they are rolled; a roll issues an sk_v2_ key.

  • Secret key examples change from sk_live_XXXXXXXX to sk_v2_XXXXXXXX (25 places across the Embedded Wallets allowlist and pregeneration pages, the Core API pages and the Alchemy recipe).
  • The x-magic-secret-key parameter on the Core API and Express API getting-started pages states the format and that sk_live_ keys keep working until rolled.

The examples stay placeholders (X is not a hex digit), so secret scanning does not flag them.

Draft until dashboard-api#499 is in production.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
magic-labs 🟢 Ready View Preview Dec 2, 2026, 7:49 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@pws-kj
pws-kj marked this pull request as ready for review December 2, 2026 20:27
@pws-kj
pws-kj merged commit 66347d5 into main Dec 2, 2026
6 of 7 checks passed
@pws-kj
pws-kj deleted the karl/docs-sk-v2-secret-keys branch December 2, 2026 20:38

This branch was successfully deployed

1 active deployment
staging — 07e3ccab Deployed Dec 2, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants