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

# homelab api wallet

> Generated reference for the homelab api wallet commands

> [!NOTE]
>
> Generated from the Homelab v0.49.2 release (source `2614eaba28d8`). For an installed version, `homelab api <command> --help` is authoritative.

## homelab api wallet create

Create a wallet item without secret values.

Creates a wallet item owned by the caller in the resolved tenant and returns it redacted. The server assigns the id. `secret` and `totp` values are entered by the person in the Wallet and are not part of this contract; an item created here has no secret until the person adds one, and a secret can never be read back through this API without the person's fresh re-authentication. Only deployments that keep credentials in Homelab's own Wallet serve this route; elsewhere it answers 409 `self_hosted_only`.

```bash theme={null}
homelab api wallet create [flags]
```

| | |
| - | - |
| HTTP | `POST /api/v1/wallet` |
| Changes state | Yes |
| MCP tool | `create_wallet_item` |

| Argument | Type | Description |
| - | - | - |
| `--access-mode` | string | One of `open`, `reveal`, `manage`. |
| `--expires-at` | string | — |
| `--item-class` | string | One of `launch`, `user_account`, `credential`, `recovery`, `machine_secret_ref`, `manual`. |
| `--kind` | string | Defaults to `other`. Cannot be changed later. One of `password`, `api_key`, `ssh_key`, `oauth_token`, `certificate`, `other`. |
| `--name` | string | **Required.** |
| `--notes` | string | Free text; never put credentials here. |
| `--service-id` | string | — |
| `--source-ref` | string | — |
| `--source-type` | string | — |
| `--stack-id` | string | Stack (kit deployment) the item belongs to. |
| `--url` | string | — |
| `--username` | string | — |
| `--body` | json | JSON request body (`application/json`) as a literal, `@path` or `-` for stdin. |

## homelab api wallet delete

Delete a wallet item.

Deletes an item the caller owns, including its encrypted secret and TOTP. An item owned by someone else answers 404. Only deployments that keep credentials in Homelab's own Wallet serve this route; elsewhere it answers 409 `self_hosted_only`.

```bash theme={null}
homelab api wallet delete <id> [flags]
```

> [!WARNING]
>
> Requires confirmation: This operation permanently deletes the wallet item with any secret and TOTP stored in it; if the person has no other copy of those credentials they are lost. Pass `--yes` or answer the prompt; a non-interactive run without `--yes` stops before any request with exit code 9.

| | |
| - | - |
| HTTP | `DELETE /api/v1/wallet/{id}` |
| Changes state | Yes |
| MCP tool | `delete_wallet_item` |

| Argument | Type | Description |
| - | - | - |
| `<id>` | string | **Required.** Resource ID. |

## homelab api wallet list

List redacted wallet recovery items.

Lists the caller's wallet recovery items for the resolved tenant. The
`secret` and `totp` values are always stripped from this response; only
presence flags (`has_secret`, `has_totp`) are exposed.

```bash theme={null}
homelab api wallet list [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/wallet` |
| Changes state | No |
| MCP tool | `list_wallet_items` |

| Argument | Type | Description |
| - | - | - |
| `--stack-id` | string | — |

## homelab api wallet reauth-proof

Mint a short-lived reauth proof after a fresh platform re-auth.

After a fresh biometric/platform re-authentication, mints a short-lived
trusted-reauth HMAC proof (timestamp + signature) usable to authorize a
subsequent reveal within the 5-minute window. Requires a valid fresh
platform reauth assertion on the request.

```bash theme={null}
homelab api wallet reauth-proof <id> [flags]
```

| | |
| - | - |
| HTTP | `POST /api/v1/wallet/{id}/reauth-proof` |
| Changes state | Yes |
| MCP tool | None |

| Argument | Type | Description |
| - | - | - |
| `<id>` | string | **Required.** Resource ID. |
| `--platform-reauth-at` | string | — |
| `--reason` | string | — |
| `--reauth-assertion` | string | — |
| `--reauth-signature` | string | — |
| `--reauth-timestamp` | string | — |
| `--body` | json | JSON request body (`application/json`) as a literal, `@path` or `-` for stdin. |

## homelab api wallet reveal

Reveal a wallet recovery secret/TOTP, gated by a fresh reauth proof.

Biometric-gated. Requires a fresh trusted-reauth HMAC proof (timestamp +
signature, 5-minute window) supplied in the body or the
`X-Kombify-Reauth-\*` / `X-Homelab-Reauth-\*` headers. Returns the
plaintext recovery values once; the reveal is audited server-side.

```bash theme={null}
homelab api wallet reveal <id> [flags]
```

| | |
| - | - |
| HTTP | `POST /api/v1/wallet/{id}/reveal` |
| Changes state | Yes |
| MCP tool | None |

| Argument | Type | Description |
| - | - | - |
| `<id>` | string | **Required.** Resource ID. |
| `--platform-reauth-at` | string | — |
| `--reason` | string | — |
| `--reauth-assertion` | string | — |
| `--reauth-signature` | string | **Required.** |
| `--reauth-timestamp` | string | **Required.** |
| `--body` | json | JSON request body (`application/json`) as a literal, `@path` or `-` for stdin. |

## homelab api wallet update

Update the metadata of a wallet item.

Merges the supplied fields into an item the caller owns and returns it redacted. Fields that are not supplied keep their value, including the stored secret and TOTP, which this contract can neither read nor change: the person sets those in the Wallet. The item kind and owner are immutable. An item owned by someone else answers 404. Only deployments that keep credentials in Homelab's own Wallet serve this route; elsewhere it answers 409 `self_hosted_only`.

```bash theme={null}
homelab api wallet update <id> [flags]
```

| | |
| - | - |
| HTTP | `PATCH /api/v1/wallet/{id}` |
| Changes state | Yes |
| MCP tool | `update_wallet_item` |

| Argument | Type | Description |
| - | - | - |
| `<id>` | string | **Required.** Resource ID. |
| `--access-mode` | string | One of `open`, `reveal`, `manage`. |
| `--expires-at` | string | — |
| `--item-class` | string | One of `launch`, `user_account`, `credential`, `recovery`, `machine_secret_ref`, `manual`. |
| `--name` | string | — |
| `--notes` | string | Free text; never put credentials here. |
| `--service-id` | string | — |
| `--source-ref` | string | — |
| `--source-type` | string | — |
| `--stack-id` | string | — |
| `--url` | string | — |
| `--username` | string | — |
| `--body` | json | JSON request body (`application/json`) as a literal, `@path` or `-` for stdin. |


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