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

CLI / agent / token / create

kosa8 agent token create

Mint an identity and print its token, once

Usage#

kosa8 agent token create NAME

Options#

FlagTypeWhat it doesDefault
--ownerstringperson accountable for the agent, "Name <email>" (default: your kosa8 identity)—
--scopestringMCP policy scope the agent acts in (default: the policy's default_scope)—
--ttldurationhow long the token works, e.g. 8h (at most 8760h)24h0m0s

Example#

  kosa8 agent token create ci-bot
  kosa8 agent token create ci-bot --owner ada@example.com --scope sandbox --ttl 24h

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 · Zero Trust cybersecurity infrastructure for AI agents · Local models served by llamay · Agent gateway: MAQPNA