skills/cli-keys/SKILL.md
Create, list, rotate, and revoke OmniRoute API keys from the CLI. Manage OAuth flows for provider authentication and inspect key scopes and expiration.
npm install -g omniroute # or: npx omniroute
omniroute --version
keysExample:
omniroute keys
keys add <provider> [apiKey]Flags:
--stdinExample:
omniroute keys add <provider> [apiKey]
keys listFlags:
--jsonExample:
omniroute keys list
keys remove <provider>Flags:
--yesExample:
omniroute keys remove <provider>
keys regenerate <id>Flags:
--yesExample:
omniroute keys regenerate <id>
keys revoke <id>Flags:
--yesExample:
omniroute keys revoke <id>
keys reveal <id>Example:
omniroute keys reveal <id>
keys usage <id>Flags:
--limit <n>Example:
omniroute keys usage <id>
keys policyExample:
omniroute keys policy
keys show <id>Example:
omniroute keys show <id>
keys set <id>Flags:
--rate-limit <n>--max-cost <n>--allowed-models <list>Example:
omniroute keys set <id>
keys expirationExample:
omniroute keys expiration
keys listFlags:
--days <n>--jsonExample:
omniroute keys list
keys rotate <id>Flags:
--grace-period <ms>--yesExample:
omniroute keys rotate <id>
oauthExample:
omniroute oauth
oauth providersExample:
omniroute oauth providers
oauth startFlags:
--no-browser--import-from-system--social <s>--timeout <ms>Example:
omniroute oauth start
oauth statusFlags:
--provider <id>Example:
omniroute oauth status
oauth revokeFlags:
--connection-id <id>--yesExample:
omniroute oauth revoke