Skip to content
⌘K

Command reference

okibi keys

Manage your Okibi API keys

Generated from okibi 0.2.4. Every command also takes the global flag --agent.

Usage
okibi keys [command]

Commands

createMint a new API key (printed once, or adopted with --use)
listList your API keys
revokeRevoke an API key (id from `okibi keys list`)

okibi keys create

Mints a new key using this machine's login (run `okibi auth login` first if needed). Scoped to a workspace (--workspace or OKIBI_WORKSPACE, default: this machine's default workspace). The key is LOCKED to that workspace — a CI token can't touch your others. By default the token is printed once to store (e.g. a CI secret); with --use it's stored as THIS machine's credential instead.

Usage
okibi keys create [flags]

Flags

FlagTypeDescription
--api-urlstringOkibi API base URLdefault https://okibi.ai
--namestringlabel for the key (e.g. "github-actions")
--useboolstore the new key as this machine's credential instead of printing it
--workspacestringworkspace slug to lock the key to (or OKIBI_WORKSPACE; default: this machine's default workspace, else your first)

okibi keys list

List your API keys

Usage
okibi keys list [flags]

Flags

FlagTypeDescription
--api-urlstringOkibi API base URLdefault https://okibi.ai
--jsonbooloutput the raw JSON response

okibi keys revoke

Revoke an API key (id from `okibi keys list`)

Usage
okibi keys revoke <key-id> [flags]

Flags

FlagTypeDescription
--api-urlstringOkibi API base URLdefault https://okibi.ai