Create, list, rotate, and revoke OmniRoute API keys from the CLI. Manage OAuth flows for provider authentication and inspect key scopes and expiration.
Install
npx skillscat add diegosouzapw/omniroute/cli-keys Install via the SkillsCat registry.
SKILL.md
Overview
Create, list, rotate, and revoke OmniRoute API keys from the CLI. Manage OAuth flows for provider authentication and inspect key scopes and expiration.
Quick install
npm install -g omniroute # or: npx omniroute
omniroute --versionSubcommands
keys
Example:
omniroute keyskeys add <provider> [apiKey]
Flags:
--stdin
Example:
omniroute keys add <provider> [apiKey]keys list
Flags:
--json
Example:
omniroute keys listkeys remove <provider>
Flags:
--yes
Example:
omniroute keys remove <provider>keys regenerate <id>
Flags:
--yes
Example:
omniroute keys regenerate <id>keys revoke <id>
Flags:
--yes
Example:
omniroute keys revoke <id>keys reveal <id>
Example:
omniroute keys reveal <id>keys usage <id>
Flags:
--limit <n>
Example:
omniroute keys usage <id>keys policy
Example:
omniroute keys policykeys 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 expiration
Example:
omniroute keys expirationkeys list
Flags:
--days <n>--json
Example:
omniroute keys listkeys rotate <id>
Flags:
--grace-period <ms>--yes
Example:
omniroute keys rotate <id>oauth
Example:
omniroute oauthoauth providers
Example:
omniroute oauth providersoauth start
Flags:
--no-browser--import-from-system--social <s>--timeout <ms>
Example:
omniroute oauth startoauth status
Flags:
--provider <id>
Example:
omniroute oauth statusoauth revoke
Flags:
--connection-id <id>--yes
Example:
omniroute oauth revoke