> ## 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 auth

> Sign in, check, and end your session.

Sign in to Rivvr, check who you're signed in as, and sign out. Step-by-step instructions are in [authentication](https://docs.rivvr.ai/configuration/authentication.md).

| Command | What it does |
| - | - |
| [`login`](#rivvr-auth-login) | Sign in with your username or email. |
| [`status`](#rivvr-auth-status) | Show which Rivvr URL you're signed in to, as whom, and where the credentials came from. |
| [`logout`](#rivvr-auth-logout) | Revoke your session on the server and remove it from the keychain. |
| [`setup-password`](#rivvr-auth-setup-password) | Set your first password with the setup token from your invitation. |
| [`change-password`](#rivvr-auth-change-password) | Change your password. |

## rivvr auth login

Sign in with your username or email. The session is saved in your OS keychain and refreshed automatically.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr auth login [flags]
```

```bash Example theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr auth login --api-url https://rivvr.customer.example --username alice
```

| Flag | Default | Description |
| - | - | - |
| `--password-stdin` | | Read the password from stdin instead of a prompt. The session is saved as usual |
| `--username <user>` | | Username or email |

## rivvr auth status

Show which Rivvr URL you're signed in to, as whom, and where the credentials came from.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr auth status [flags]
```

```bash Example theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr auth status
```

## rivvr auth logout

Revoke your session on the server and remove it from the keychain. Saved inference keys are kept.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr auth logout [flags]
```

## rivvr auth setup-password

Set your first password with the setup token from your invitation. Signs you in when it's done.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr auth setup-password [flags]
```

```bash Example theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr auth setup-password --api-url https://rivvr.customer.example
```

| Flag | Default | Description |
| - | - | - |
| `--stdin` | | Read a JSON object from stdin instead of prompting: `token` and `newPassword` for setup, `currentPassword` and `newPassword` for a change |

## rivvr auth change-password

Change your password. Sign in again afterwards.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr auth change-password [flags]
```

| Flag | Default | Description |
| - | - | - |
| `--stdin` | | Read a JSON object from stdin instead of prompting: `token` and `newPassword` for setup, `currentPassword` and `newPassword` for a change |


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