[Fundamentals] Document scannable API credential formats#29561
Open
nkcmr wants to merge 1 commit intocloudflare:productionfrom
Open
[Fundamentals] Document scannable API credential formats#29561nkcmr wants to merge 1 commit intocloudflare:productionfrom
nkcmr wants to merge 1 commit intocloudflare:productionfrom
Conversation
## Context/Background Cloudflare API credentials now use a prefixed, scannable format (cfk_, cfut_, cfat_) that enables credential scanning tools like GitHub Secret Scanning, TruffleHog, Gitleaks, and GitGuardian to detect leaked tokens with high confidence. Leaked tokens are automatically revoked and the token owner is notified via email. ## Changes in this commit - New concept page (token-formats.mdx) covering the three scannable credential formats, leaked token detection partners, Cloudflare One DLP integration, and how to upgrade existing tokens - Inline mentions with links on keys.mdx (cfk_), create-token.mdx (cfut_), and account-owned-tokens.mdx (cfat_) - Updated api-roll-token partial to note that rolled tokens use the scannable format - Refreshed dashboard screenshots for the token creation flow
a6caf94 to
77497b8
Compare
jhutchings1
reviewed
Apr 2, 2026
| <DashButton url="/?to=/:account/home" /> | ||
| <DashButton url="/?to=/:account/home" /> | ||
|
|
||
| 2. Go to **My Profile** > **API Tokens**. |
Contributor
There was a problem hiding this comment.
We could deeplink directly to this page. Why not do so? We can also link to the account API tokens page.
jhutchings1
approved these changes
Apr 2, 2026
Contributor
jhutchings1
left a comment
There was a problem hiding this comment.
Made a minor suggestion, but overall, this is looking good.
caley-b
approved these changes
Apr 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cloudflare API credentials now use prefixed, scannable formats (
cfk_,cfut_,cfat_) that enable credential scanning tools to detect leaked tokens. This PR documents the new formats and updates existing API credential pages to reference them./fundamentals/api/get-started/token-formats/covering the three credential formats, leaked token detection and auto-revocation, and the pre-2026 unprefixed formatskeys.mdx(cfk_),create-token.mdx(cfut_), andaccount-owned-tokens.mdx(cfat_)api-roll-tokenpartial to note that rolled tokens use the scannable formatRelated: RM-26064, ACCT-11368