Skip to content

pnpm, Turborepo, Nx, one config

One config. Every workspace pulls its own secrets.

Map each workspace to a project and environment in one .envshed.json at the repo root. One envshed pull writes every package's env file.

Start free, no credit card

Free forever plan · 14-day trial on paid plans

Where monorepo secrets break first

  • DATABASE_URL drifts across packages

    The API uses one value, the worker package uses a slightly older one. The bug only reproduces in one workspace.

    Envshed stores one value per environment. Every workspace mapped to that project pulls the same value.

  • Each package has its own .env

    Three packages, three .env files, one engineer keeping them in sync. They go on vacation and onboarding breaks.

    One .envshed.json at the root maps each workspace to a project. envshed pull writes each env file to the path set in the config.

  • New engineer hits five missing keys at once

    They clone the repo, run pnpm install, and the API crashes at startup with undefined. Nobody remembers which package needs what.

    Secret definitions list the keys each project needs and mark the required ones. One envshed pull at the root fills every package's env file.

  • Workspace-level changes are invisible

    Someone added STRIPE_SECRET_KEY to apps/web by mistake. Three weeks later it ends up in the client bundle.

    Each workspace maps to a project with its own audit log. It shows who changed each key and when.

Uses the workspaces your repo already declares

  • envshed pull at the root

    Pulls every workspace in .envshed.json and writes each env file in its package directory. Works with pnpm, Turborepo, and Nx.

  • Per-workspace environments

    Point apps/api at staging while apps/web stays on development. envshed --workspace apps/api env staging changes only that workspace.

  • Personal overrides per user

    Set a personal DATABASE_URL without touching the shared config. Your teammates never see the personal value.

  • Duplicate an environment

    envshed env duplicate staging --name feature-x copies every secret of staging into a new environment.

  • Inject one workspace's secrets in CI

    envshed --workspace apps/api run injects only that workspace's secrets. If apps/web maps to another project, its bundle never gets the Stripe key.

  • AES-256-GCM at rest

    Envshed encrypts every value at rest with AES-256-GCM and a unique IV per record.

Run your first agent with Envshed

The Developer plan is free for 2 people and 3 projects, with no card. Sign in, connect Claude Code to the MCP server and run a command through envshed run.

Start free