Skip to main content

cli-keys

Create, list, rotate, and revoke OmniRoute API keys from the CLI. Manage OAuth flows for provider authentication and inspect key scopes and expiration.

来源信息

仓库
cheaper-inference/OmniRoute
最近来源活动
2026年10月16日 03:46
检测到的 SKILL.md 语言
英语
星标
82,330
Forks
12,154

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
cli-keys
description
Create, list, rotate, and revoke OmniRoute API keys from the CLI. Manage OAuth flows for provider authentication and inspect key scopes and expiration.
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten --> ## 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 ```bash npm install -g omniroute # or: npx omniroute omniroute --version ``` ## Subcommands ### `keys` **Example:** ```bash omniroute keys ``` ### `keys add <provider> [apiKey]` **Flags:** - `--stdin` **Example:** ```bash omniroute keys add <provider> [apiKey] ``` ### `keys list` **Flags:** - `--json` **Example:** ```bash omniroute keys list ``` ### `keys remove <provider>` **Flags:** - `--yes` **Example:** ```bash omniroute keys remove <provider> ``` ### `keys regenerate <id>` **Flags:** - `--yes` **Example:** ```bash omniroute keys regenerate <id> ``` ### `keys revoke <id>` **Flags:** - `--yes` **Example:** ```bash omniroute keys revoke <id> ``` ### `keys reveal <id>` **Example:** ```bash omniroute keys reveal <id> ``` ### `keys usage <id>` **Flags:** - `--limit <n>` **Example:** ```bash omniroute keys usage <id> ``` ### `keys policy` **Example:** ```bash omniroute keys policy ``` ### `keys show <id>` **Example:** ```bash omniroute keys show <id> ``` ### `keys set <id>` **Flags:** - `--rate-limit <n>` - `--max-cost <n>` - `--allowed-models <list>` - `--model-access-mode <mode>` - `--unrestricted` **Example:** ```bash omniroute keys set <id> ``` ### `keys expiration` **Example:** ```bash omniroute keys expiration ``` ### `keys list` **Flags:** - `--days <n>` - `--json` **Example:** ```bash omniroute keys list ``` ### `keys rotate <id>` **Flags:** - `--grace-period <ms>` - `--yes` **Example:** ```bash omniroute keys rotate <id> ``` ### `oauth` **Example:** ```bash omniroute oauth ``` ### `oauth providers` **Example:** ```bash omniroute oauth providers ``` ### `oauth start` **Flags:** - `--provider <id>` - `--no-browser` - `--import-from-system` - `--social <s>` - `--timeout <ms>` **Example:** ```bash omniroute oauth start ``` ### `oauth status` **Flags:** - `--provider <id>` **Example:** ```bash omniroute oauth status ``` ### `oauth revoke` **Flags:** - `--provider <id>` - `--connection-id <id>` - `--yes` **Example:** ```bash omniroute oauth revoke ```
在 GitHub 查看