kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

CLI / cloud / tokens / create

kosa8 cloud tokens create

Make a capability token; its secret is shown once

Usage#

kosa8 cloud tokens create --scope SCOPE [--sandbox ID] [--label key=value]

Options#

FlagTypeWhat it doesDefault
-l, --labelstringArrayonly sandboxes with this label, key=value (repeatable)[]
--namestringa name to know it by—
-q, --quietboolprint only the secret—
--sandboxstringArrayonly this sandbox (repeatable, up to 100)[]
--scopestringArraywhat it may do: sandboxes:read, sandboxes:write or functions:invoke (repeatable)[]
--ttldurationhow long it lives, 1m to 24h (default 1h)0s

Example#

  kosa8 cloud tokens create --scope sandboxes:write --sandbox sbx_abc --ttl 30m
  kosa8 cloud tokens create --scope sandboxes:read --label student=ada -q

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · AI Agent Sandbox: Secure and Sovereign for Enterprise · Local models served by llamay · Agent gateway: MAQPNA