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

CLI / cloud / tokens

kosa8 cloud tokens

Short-lived capability tokens for your own users, limited to some sandboxes

A capability token (k8c_tok_…) is a bearer token for a platform that hands a sandbox to its own end user (a browser terminal, a student's notebook, a customer's agent) without handing over its API key. It holds some of sandboxes:read, sandboxes:write and functions:invoke, can be limited to some sandboxes or labels, lives at most 24 hours, and stops when the key that made it is revoked. It cannot make tokens or keys.

Also known as: token

Example#

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

Subcommands#

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