You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: mandate Account API Tokens for CI/CD and services - #1
Distinguish Account API Tokens (for CI/CD gha-*, service/runtime, and unattended automation) from User API Tokens (reserved strictly for personal interactive CLI or read-only diagnostics *-ro).
Document naming conventions for CI/CD (gha-<domain>-<repo>-<scope>), service/runtime (<domain>-<service>-<ro|writer>), and personal diagnostics (<domain>-<tool>-ro).
Documentation-only change to docs/cloud-governance-standard.md. The Cloudflare guidance is technically accurate: Account API Tokens (dash.cloudflare.com/<account_id>/api-tokens) are account-bound and are the recommended token type for CI/CD and unattended automation, while User API Tokens (/profile/api-tokens) are tied to a personal login. The new token-naming conventions and the Account-vs-User mandate are consistent with the existing least-privilege rules in the same section (single-account scoping, Environment-protected secrets, no org admin keys in CI) and with AGENTS.md policy (no real account IDs or credentials committed; only placeholders like <account_id> appear). No credential/PII leaks, no dangerous operational commands, and no policy contradictions rising to medium/high severity. Two minor wording-clarity nits are reported as low.
[LOW]docs/cloud-governance-standard.md: Ambiguous parenthetical: 'Reserve User API Tokens strictly for personal interactive CLI or read-only diagnostic tools (-ro)' can be read as requiring ALL personal User tokens to be read-only, which would leave no sanctioned token type for a human interactive wrangler deploy (which needs edit scopes). If the intent is that humans deploy only via CI/CD, state that explicitly; otherwise reposition the (-ro) qualifier so it clearly applies only to the diagnostic-tools case.
[LOW]docs/cloud-governance-standard.md: Minor naming-style inconsistency in the new conventions: 'Service / Runtime: --<ro|writer>' mixes an abbreviated suffix ('ro') with a spelled-out one ('writer'). Consider 'ro|rw' or 'reader|writer' for consistency with the '-ro' suffix used for diagnostics tokens.
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
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.
Summary
gha-*, service/runtime, and unattended automation) from User API Tokens (reserved strictly for personal interactive CLI or read-only diagnostics*-ro).gha-<domain>-<repo>-<scope>), service/runtime (<domain>-<service>-<ro|writer>), and personal diagnostics (<domain>-<tool>-ro).