Stash vs Doppler, Infisical and dotenv-vault

Four ways to manage secrets and .env files, side by side. Only facts that each tool documents publicly, no prices (they change), and the cases where another tool is the better choice.

Checked on November 10, 2026 against each tool's public documentation. Features change over time, so follow the sources at the end for the current state.

At a glance

FeatureStashDopplerInfisicaldotenv-vault
Where it runsCloud service run by Bush Coding. No self-hosted version.Cloud service. Doppler On-prem runs it in your own infrastructure, offered to enterprises.Infisical Cloud, or self-hosted with Docker Compose, Helm charts and other templates.Cloud service to sync .env files. Its README says it is paid-only since May 2025.
Source codeNot open source. CLI binaries are published on GitHub releases.The CLI is open source (DopplerHQ/cli).MIT license, except the ee directories (enterprise features).CLI distributed on npm as dotenv-vault.
Run an app with secretsstash run -- npm start: secrets only live in that process's memory.doppler run -- npm start injects a config's secrets as environment variables.The CLI injects secrets into local development and CI/CD pipelines.Pull a .env file, or build an encrypted .env.vault decrypted with a DOTENV_KEY.
How secrets are organizedProjects → environments (dev, staging, prod created for you, plus your own) → secrets.Projects and configs; commands take a project (-p) and a config (-c).Projects with environments.One vault per project, with an environment per .env file.
Access for CI and serversService tokens for one project environment, read or read & write, with optional expiry.Service tokens with read-only access to a specific config.Machine identities: Universal Auth, Kubernetes, AWS, GCP, Azure and OIDC.A DOTENV_KEY per environment to decrypt the .env.vault file.
Platform syncVercel and GitHub Actions, with auto-sync per environment.Pushes secrets to cloud platforms, such as AWS, GCP and Vercel.Secret syncs to GitHub, Vercel, AWS Secrets Manager and others; Kubernetes Operator.Deploys through the encrypted .env.vault file.
History and auditVersion history per secret (5 versions on Starter, 20 on Pro) with rollback, and an audit log per project.Versioning and activity logs, with rollback of changes.Secret versioning, point-in-time recovery and audit logs.Not covered in the sources reviewed.
Team accessOwner, Admin, Developer and Viewer (custom roles on Pro), limited to projects and environments.Fine-grained access controls, project access and SSO.RBAC, temporary access, approval workflows, SSO, LDAP and SCIM.Syncs .env files between team members.
Beyond static secretsNo public REST API yet: automation goes through the CLI and service tokens.A documented API.Secret rotation, dynamic secrets, PKI and certificates, secret scanning and SDKs.Its author points to dotenvx for encrypted .env files kept in git, with no cloud.

Stash vs Doppler

Both are hosted secrets managers with a CLI that starts your app with the secrets as environment variables (stash run and doppler run), tokens for machines and sync to deployment platforms. Doppler documents more integrations and a public API, and offers an on-premises edition for enterprises. Stash is narrower: projects with environments, service tokens scoped to one environment, Vercel and GitHub Actions sync, and a web app and CLI in English, Spanish and Portuguese.

Stash vs Infisical

Infisical is open source (MIT, except its enterprise directories) and can be self-hosted, which Stash cannot. It also covers much more ground: dynamic secrets, rotation, certificates, secret scanning and SDKs for many languages. Stash focuses on the everyday part: keeping .env values encrypted, sharing them by role and environment, and loading them with one command, with nothing to run or maintain yourself.

Stash vs dotenv-vault

dotenv-vault syncs .env files through its cloud and can build an encrypted .env.vault file that the app decrypts with a DOTENV_KEY. Stash stores each secret on its own, with roles, version history, an audit log and service tokens, and can write a .env file with stash pull when a tool needs one. If you want encrypted .env files committed to git with no cloud at all, the dotenv-vault README itself points to dotenvx.

When Stash is a good fit

  • Small teams and freelancers who want one encrypted place for their .env values, without running a server.
  • Access by environment: a developer can see dev and staging without ever seeing prod.
  • Deployments on Vercel or GitHub Actions, kept in sync from one source.
  • Teams that work in Spanish or Portuguese: the web app and the CLI speak both.

When another tool fits better

  • You must self-host: Infisical can run on your servers, and Doppler offers an on-prem edition for enterprises.
  • You need dynamic secrets, automatic rotation or certificates: Infisical documents all three.
  • You need a public REST API or many more integrations: Doppler and Infisical both document them.
  • You want encrypted .env files in git and no cloud: look at dotenvx.

Sources