---
title: "Documentation"
description: "maruhi is a diskless, end-to-end encrypted secrets manager that runs on Cloudflare. Start here."
image: "https://maruhi.app/og.png"
---

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

# Documentation

maruhi (㊙) stores your team's secrets encrypted end to end, keeps plaintext off every disk, and runs on Cloudflare Workers — either the hosted service at `my.maruhi.app` or your own account with a single `cf deploy`.

> **Note**
>
> maruhi is in **private preview**. The hosted service is invite-only, and releases are pre-release
> tags. Expect changes; the [changelog and releases](https://github.com/maruhiapp/maruhi/releases)
> are the source of truth.

- **Getting started** — Install the CLI, sign in, and run your first command in about five minutes.
- **Deploy targets** — Copy values to Cloudflare Workers, Vercel, Netlify, and GitHub Actions secrets with `maruhi
      sync`, through the vendor CLI or its API, locally or from CI.
- **GitHub Actions** — Lease values in CI with no secrets on GitHub, sync deploy targets from a workflow, and put
  production behind required reviewers.
- **Self-hosting** — Deploy maruhi to your own Cloudflare account.

## How maruhi works

- **End-to-end encrypted, zero knowledge.** Values are encrypted on your machine with WebCrypto and HPKE before they leave it. The server stores and relays ciphertext only.
- **Diskless.** `maruhi run -- <command>` decrypts in memory and injects values into the child process's environment. No `.env` files are written, ever.
- **Everything happens in the CLI.** The web dashboard shows metadata and can revoke credentials such as API tokens and invites; it never receives a key or a plaintext value.
- **Scoped by keys, not by policy.** A member limited to some environments receives the keys of those environments only; there is no key for the others anywhere, so no server rule has to hold. See [Environment scopes](https://maruhi.app/docs/environment-scopes).
- **Two owners for the dangerous operations.** With a [four-eyes policy](https://maruhi.app/docs/four-eyes), removing a member, granting a server key, or changing a role takes the signatures of two owners on the project's chain — a rule every client verifies, not a server setting.
- **Keys belong to devices, access belongs to people.** Each machine has its own device key, added by approving its fingerprint from a device you already have and revoked on its own when lost; one reserve key lives only in the recovery ledger. See [Devices](https://maruhi.app/docs/devices).
- **A leaver's values get rotated at their issuers.** Removing a member lists every credential they could read with its next step, and `maruhi var rotate` replaces AWS IAM keys, Cloudflare tokens, and PostgreSQL / MySQL passwords from your machine — and any other credential through a script of your own — keeping the old one valid until you finalize; a CI cron fails while something is due, or mints the new credential itself as a sealed proposal a member countersigns. See [Rotating upstream credentials](https://maruhi.app/docs/rotation).
- **Nothing phones home.** The CLI, the dashboard, and this site send no telemetry and load no third-party scripts.

## Reference

The specifications live in the repository. Like the CLI, the dashboard, and this site, they are written in English.

- [Crypto specification](https://github.com/maruhiapp/maruhi/blob/main/docs/CRYPTO_SPEC.md) — the sole source of truth for every cryptographic operation
- [Authentication and identity specification](https://github.com/maruhiapp/maruhi/blob/main/docs/AUTH_SPEC.md)
- [Audit specification](https://github.com/maruhiapp/maruhi/blob/main/docs/AUDIT_SPEC.md) — audit events, rotation flags, and the audit hash chain
- [Reviewer guide](https://github.com/maruhiapp/maruhi/blob/main/docs/REVIEWING.md) — for external security reviewers: the trust model, the invariants to attack, and how to re-verify the test vectors
- [Architecture decision records](https://github.com/maruhiapp/maruhi/tree/main/docs/adr)
- [README](https://github.com/maruhiapp/maruhi#readme) — install options, trust model, and licenses

Source: https://maruhi.app/docs/index.mdx
