---
name: CLI Keys
slug: cli-keys
category: DevOps
description: CLI Keys creates, lists, rotates, and revokes OmniRoute API keys from the command line. Use it to manage OAuth flows for provider authentication and inspect key scopes and expiration.
github: "https://github.com/diegosouzapw/OmniRoute/tree/release/v3.8.50/skills/cli-keys"
language: TypeScript
stars: 46792
forks: 6310
install: "npx degit https://github.com/diegosouzapw/OmniRoute/tree/release/v3.8.50/skills/cli-keys ~/.claude/skills/cli-keys"
installs_to: ~/.claude/skills/cli-keys
source_path: skills/cli-keys/SKILL.md
collection_size: 25
category_size: 798
collection_url: "https://dirskills.com/collections/diegosouzapw/OmniRoute"
added: 2026-08-13T07:36:50.576Z
last_synced: 2026-08-13T07:36:50.576Z
canonical_url: "https://dirskills.com/skills/cli-keys"
---

# CLI Keys

CLI Keys creates, lists, rotates, and revokes OmniRoute API keys from the command line. Use it to manage OAuth flows for provider authentication and inspect key scopes and expiration.

**Install:**

```bash
npx degit https://github.com/diegosouzapw/OmniRoute/tree/release/v3.8.50/skills/cli-keys ~/.claude/skills/cli-keys
```

## README

<!-- 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>`

**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:**

- `--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:**

- `--connection-id <id>`
- `--yes`

**Example:**

```bash
omniroute oauth revoke
```
