Tame .env sprawl
Import without shell expansion, detect drift, sync in either direction, or keep commit-safe placeholders in the repo.
Dotenv workflows →Local-first secrets for developers and agents
TinyVault is one Go binary that encrypts developer secrets in a local vault and lets tools use them without routinely exposing values to the model. No account, hosted service, or control plane.
A smaller trust boundary
TinyVault’s agent tools are shaped around outcomes. Search returns metadata. Generation returns non-secret metadata. Export returns a file path. Execution injects values into a child process and can redact literal values in captured output when policy enables it. A raw read exists, but it is the explicit exception.
Redaction reduces accidental leaks; it is not a sandbox. The threat model explains the boundary in full.
One vault, three surfaces
The CLI, terminal studio, and MCP server all use the same storage, encryption, project boundaries, and audit trail. There is no sync layer to drift and no second database to secure.
Humans + scripts
Store, search, inject, sync, seal, share, rotate, and roll back from one composable command.
tvault run -- npm start02Humans + terminals
Browse projects, metadata, versions, and audit history in a read-only-by-default terminal UI.
tvault studio03Agents + automations
Give an agent task-shaped tools, a disk-loaded policy, and value-minimizing defaults over stdio.
tvault mcpBeyond set and get
Replace the loose collection of plaintext files, one-off scripts, and copied credentials with one inspectable tool.
Explore the guides.env sprawlImport without shell expansion, detect drift, sync in either direction, or keep commit-safe placeholders in the repo.
Dotenv workflows →Wrap a project key to X25519 recipients. Removing one re-keys the updated live vault; retained snapshots remain readable.
Recipient sharing →Use standalone encrypted env files, Kubernetes-shaped sealed manifests, or transparent Git clean/smudge filters.
Committable secrets →Every overwrite archives the prior encrypted value. Inspect metadata and roll back non-destructively to a new version.
Versioning and rollback →Group development, staging, and production projects; compare drift, inherit defaults, pin overrides, and promote deliberately.
Environment groups →Inspectable security
The encryption path is compact enough to audit: Argon2id derives a key-encryption key, each project gets its own data-encryption key, and AES-256-GCM authenticates every encrypted value.
Read the architectureAn intentionally narrow product
Use TinyVault when
Choose another tool when
Local by default
Install the binary, create a vault, and inject your first secret in a few minutes.
Open the quickstart