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