Last updated: 2026-09-06
orca keys manages tenant API keys: the ao_ bearer keys that authenticate the CLI, the SDKs, and any direct caller of the /api/* control plane. A key inherits the role of whoever minted it. These are not the same as chat keys, which authenticate callers of a published agent through the gateway; those are managed with orca agents keys.
Every subcommand accepts the global flags. orca keys create prompts for a name when it is omitted in a terminal; in a pipe or script the name is required (exit code 2). Destructive subcommands prompt for confirmation in a terminal; in a script --yes is required or the command refuses (exit code 2).
orca keys list
active, expires <time>, or revoked). There are no page flags; the server returns the full set from GET /api/api-keys.
id, name, role, createdAt, lastUsedAt (or -), state. With --json the array of key metadata records is printed (no tokens; the server stores only a hash).
orca keys create
--json the full issued-key record, including token, is printed.
orca keys revoke
Verified against orca-cli
cli-v0.5.0.