Skip to content

docs: mandate Account API Tokens for CI/CD and services - #1

Merged
cgl-agent-coordinator[bot] merged 1 commit into
mainfrom
docs/account-api-token-policy
Dec 4, 2026
Merged

cgl-agent-coordinator[bot] merged 1 commit into
mainfrom
docs/account-api-token-policy

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • 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).

@cgl-agent-coordinator

Copy link
Copy Markdown

Autoland: waiting: AI review evidence for this head

@cgl-agent-coordinator

Copy link
Copy Markdown

Autoland: waiting: AI review evidence for this head

@cgl-opencode-reviewer

Copy link
Copy Markdown

AI Code Review (opencode / glm-5.3)

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.

Reviewed commit: 027546eeb2 · Coverage: complete · Unresolved findings: false

Findings

  • [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.

@cgl-agent-coordinator
cgl-agent-coordinator Bot merged commit cf404ff into main Dec 4, 2026
1 check passed
@cgl-agent-coordinator
cgl-agent-coordinator Bot deleted the docs/account-api-token-policy branch December 4, 2026 17:12
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.

1 participant