> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rivvr.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# rivvr inference-key

> Save, create, and revoke inference keys.

An inference key is a password used only for sending prompts to models. Your normal login can't send prompts. See [run inference](https://docs.rivvr.ai/guides/inference.md) and [inference keys](https://docs.rivvr.ai/administration/inference-keys.md).

| Command | What it does |
| - | - |
| [`list`](#rivvr-inference-key-list) | List inference keys in the project. |
| [`store`](#rivvr-inference-key-store) | Save an inference key's secret in your OS keychain. |
| [`create`](#rivvr-inference-key-create) | Create a key. |
| [`revoke`](#rivvr-inference-key-revoke) | Revoke a key. |

## rivvr inference-key list

List inference keys in the project. Secrets are never shown.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr inference-key list [flags]
```

| Flag | Default | Description |
| - | - | - |
| `--wide` | | Show full IDs and more columns |

## rivvr inference-key store

Save an inference key's secret in your OS keychain. This only affects your machine.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr inference-key store <key-id> [flags]
```

```bash Example theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr inference-key store KEY_ID
```

| Flag | Default | Description |
| - | - | - |
| `--key-stdin` | | Read the secret from stdin instead of a prompt |

## rivvr inference-key create

Create a key. Needs ADMIN. The secret is printed once, or saved straight to your keychain with `--save`.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr inference-key create <name> [flags]
```

```bash Examples theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr inference-key create developer --cluster-scope development
rivvr inference-key create my-key --model-scope hello --save
```

| Flag | Default | Description |
| - | - | - |
| `--cluster-scope <cluster>` | | Allow models on this cluster. Repeatable. With no scopes, the key works across the project |
| `--model-scope <model>` | | Allow this model. Repeatable, and adds to any cluster scopes |
| `--save` | | Save the secret to your keychain instead of printing it |

## rivvr inference-key revoke

Revoke a key. Needs ADMIN.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr inference-key revoke <key-id> [flags]
```

| Flag | Default | Description |
| - | - | - |
| `--yes` | | Confirm without a prompt |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.