# Keys and sign-ins: /auth
`/auth` opens one list of every key and sign-in pic has, grouped by provider, with what pic last
learnt of each and how long ago, when it expires, which one the current model uses, and what Enter would do for it. `/key` is the same
command, and `/logout` with no provider opens it too. `/login` with no provider is its add step, the
providers to choose from; with a provider, `/login` and `/logout` go straight to its login or remove
its stored key, as before.
```
Auth 2 of 4
model anthropic/claude-sonnet-5-5 · key default · store open
anthropic
→ default* ← this model API key · ok, checked 2 min ago
second API key · ! out of credit since 14:02 (HTTP 402)
openrouter
default* API key · $4.12 left
+ add a key or sign in
Your credit balance is too low to access the Anthropic API. Not used: anthropic's requests use
enter: replace this key · d: remove
↑↓ move · enter: fix · a: add · d: remove · c: check · m: models · esc: close
```
The line under the title names the model, the key it uses and whether the credential store has
been opened yet. A `*` marks the key each provider's requests use; `← this model` the one the
current model uses. A key known to be bad is red, and the provider's own words for why are under
the list. When the model's provider has no key at all, it gets a row to add one.
| Key | Does |
|---|---|
| Up, Down, PageUp, PageDown, Home, End | move |
| Enter | what the row needs: use a healthy key, replace a refused one (its login, under its name), sign in again, or add one where there is none |
| a | add a key or sign in: the providers, as `/login` shows them |
| d | remove the selected stored key or sign-in; y confirms, any other key keeps it |
| b | the models for the selected key: type a pattern (`fake/claude-opus-*`), Enter saves it as a rule, or removes it when the key has it ([rules](named-keys.md#a-key-for-a-family-of-models)) |
| e | when the selected key expires: a date (`2027-01-31`), a number of days (`30d`) or `never` |
| c | run every key's free check now; the rows change as providers answer |
| m | the model picker |
| Esc, Ctrl+C | close |
Opening it runs the free checks of keys not checked in the last ten minutes
([free checks](named-keys.md#free-checks)); nothing is ever sent that costs money. A key held in a
variable or in `models.json` is listed, and Enter can make it the provider's, but pic cannot
remove it: unset the variable, or edit the file.
It is drawn as [the settings panel](settings-panel.md) is: a box over the conversation in
fullscreen, the rows above the footer otherwise, and it opens while a reply streams without
stopping it. No key opens it by default; the action `app.credential.select` can be bound in
[keybindings.json](../reference/keys.md). Scripts and agents have the same actions as commands:
[for scripts and agents](named-keys.md#for-scripts-and-agents).