# Paper key

The org’s way back in when every passkey is lost.

## mailset paperkey rotate

A new paper key for the org; --out file.txt saves it there (mode 600) instead of the screen.

```bash
mailset paperkey rotate [--out <file>] [--yes] [--org <id>]
```

### Flags

- `--out` (\<file\>, optional): Save the new key to a new file, mode 600, instead of showing it. Never over a file already there.
- `--yes` (flag, optional): Don’t ask before replacing the key.

Only an owner of the org can run it.

An owner approves it with their passkey.

With `--json` it prints what [the API returns](https://mailset.app/docs/api/paperkey#paperkey.rotate-returns).

Example:

```bash
mailset paperkey rotate --out acme-paper-key.txt
```

In the API: [POST /v1/paperkey.rotate](https://mailset.app/docs/api/paperkey#paperkey.rotate)

## mailset paperkey status

Show whether the org’s paper key needs replacing.

```bash
mailset paperkey status [--org <id>]
```

Only an owner of the org can run it.

With `--json` it prints what [the API returns](https://mailset.app/docs/api/paperkey#paperkey.status-returns).

Example:

```bash
mailset paperkey status
```

In the API: [POST /v1/paperkey.status](https://mailset.app/docs/api/paperkey#paperkey.status)

---

© 2026 Intenseloop, Inc. Mailset’s site, docs and guides are copyrighted. You may read them and use their code to build with Mailset. Don’t republish them or use them to build a copy of Mailset. Terms: https://mailset.app/terms#content