Skip to main content
← Back to list
01Issue
FeatureShippedSwamp Club
Assigneesstack72

Relationships

#1373 Docs: document swamp auth token create command for collective tokens

Opened by stack72 · 7/23/2026· Shipped 7/24/2026

Context

PR swamp-club/swamp#1944 adds swamp auth token create — a CLI command to create scoped collective API tokens without requiring the web UI. This needs to be documented in the manual.

What to document

Reference (content/manual/reference/api-key-authentication.md)

Add a section covering the new command:

swamp auth token create --collective --scopes

Flags:

  • --collective (required) — which collective to create the token for
  • --scopes (required) — scopes to grant (e.g. extensions:push,serve:*)
  • --name (optional) — token label, defaults to cli--
  • --json — output in JSON format

Behavior:

  • Requires personal authentication (swamp auth login) — collective tokens cannot create other tokens
  • Only collective owners and admins can create tokens
  • The token key is shown once at creation time and cannot be retrieved later
  • Max 25 tokens per collective

How-to (content/manual/how-to/authenticate-with-api-keys.md)

Add a section on provisioning collective tokens from the CLI, particularly for CI pipeline use cases where you want to create tokens without manual web UI steps.

Valid scopes

extensions:push, extensions:promote, extensions:read, extensions:, lab:read, lab:write, lab:, profile:read, profile:write, profile:, collective:read, collective:write, collective:, billing:manage, feed:write, notifications:read, notifications:write, notifications:, oauth:manage, serve:, datastore:, vault:.

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 2 MOREREVIEW+ 3 MOREPR_MERGED+ 1 MORENOTIFICATION_SKIPPED

Shipped

7/24/2026, 12:08:39 AM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack727/23/2026, 11:47:38 PM

Sign in to post a ripple.