In this blog post, we will see which Varlock alternatives I would shortlist now that Varlock is joining Cloudflare, what you need to move off it (very little), and how each option keeps secrets out of a coding agent’s reach. Varlock is not shutting down, so this is a planning exercise rather than an emergency migration.
Facts, prices and release links were checked on December 2, 2026. This is a source-based comparison, not a claim that I installed and benchmarked all five tools.
Table of Contents
- The short answer
- What happened to Varlock
- How to export your Varlock data
- dotenvx
- Infisical
- Doppler
- SOPS
- 1Password CLI
- Side-by-side comparison
- Which one I would switch to
- Honest Pros and Cons
- FAQ
- How this ties to ai.dosa.dev
- Final Words
- Sources
The short answer
The closest Varlock alternatives are dotenvx for encrypted .env files in Git, Infisical for an open-source vault with an agent credential proxy, and Doppler for a hosted service with per-agent, read-only tokens. SOPS covers Git-native encryption for infrastructure teams, and 1Password CLI fits teams that already keep everything in 1Password. You do not need to export anything today: Varlock stays MIT-licensed, and Cloudflare announced no shutdown date.
What happened to Varlock
Varlock, the open-source toolkit from the DMNO team for environment variables and secrets, is joining Cloudflare. Its idea is a committed .env.schema file: decorator comments such as @required, @sensitive and @type describe every variable, so a coding agent can read the full configuration contract without seeing secret values.
The official Cloudflare announcement, written by Varlock creator Theo Ephraim and Brendan Irvine-Broque, is the source of truth. Unite.AI reported the deal the same day.
| Date | What changes | What I would do |
|---|---|---|
| November 13, 2026 | varlock@1.25.0 is the latest release on npm. | Pin this version in projects where config loading is critical. |
| December 2, 2026 | Cloudflare announces Varlock is joining. Varlock stays actively developed, open source (MIT) and vendor-neutral. | Nothing urgent. Read the announcement and note the roadmap change. |
| After December 2, 2026 | Work that would have gone into a hosted Varlock service moves into Cloudflare Secrets Store and Cloudflare’s Developer Platform. The team also plans to push .env.schema and @env-spec as an open standard. | If you were waiting for hosted Varlock, plan on a separate vault instead. |
The announcement lists no sign-up freeze, shutdown, refund or data deletion dates. The published roadmap still includes better agentic workflows, deeper language support outside JavaScript, native encryption utilities and SOPS-style team vaults without an external backend.
How to export your Varlock data
There is no hosted Varlock account to export from. Your data already lives in your repository and in whichever vault your plugins read from. To keep your options open:
- Keep
.env.schemain Git. It is the single list of variables, types and rules. Most alternatives below can use it as the checklist for what to migrate. - List your plugins. The
@plugin(...)lines at the top of the schema tell you where each secret actually lives, such as 1Password, Infisical or Doppler. - Resolve values from the source vault, not from Varlock. Move secrets vault to vault. Avoid writing resolved values into a plaintext
.envfile on disk. - Migrate one service first. Switch a single app or environment, run its tests and deploy before changing the rest.
Steps 1 and 2 follow from how Varlock’s official README describes the schema and plugin system. Steps 3 and 4 are my migration precautions. I found no tool below that imports .env.schema decorators directly, so do not expect a one-click migration.
dotenvx
dotenvx is the alternative I would try first if you mostly want encrypted .env files with no new service.
Why it fits: The official README encrypts .env values so the file can be committed, keeps the private key in .env.keys (or an OS keychain or password manager), and decrypts at runtime with dotenvx run. Leak prevention blocks plaintext secrets from being committed.
Verified facts: BSD-3-Clause, v2.38.2 (October 20, 2026). The official pricing page lists the CLI and SDKs at $0 for keys you manage yourself. The optional Armor service is $5/month for Member (1 seat) and $90/month for Business (10 seats), plus usage per 10,000 audit events.
Try it, from the official README:
npm i -g @dotenvx/dotenvx
dotenvx encrypt
dotenvx run -- node index.js
Or brew install dotenvx on a Mac.
Honest limitation: There is no schema with types and validation like Varlock’s. An agent that can read .env.keys can decrypt everything, so keep that file out of the agent’s working directory.
Infisical
Infisical is my pick for teams that want an open-source vault and a way to give agents API access without handing them the key.
Why it fits: The official README describes Agent Vault: agents send requests through a proxy that attaches the real credential at the network boundary, so a prompt-injected agent has no secret to leak. Access bundles, time-bound sessions and encrypted session logs are documented, with guides for Claude Code, Codex and OpenCode.
Verified facts: MIT for code outside the ee/ directory, which has its own enterprise licence. The official pricing page lists a Free plan for up to 5 identities, Pro at $20 and Advanced at $40 per identity per month billed annually. Self-hosting with Docker is documented in the README.
Try the CLI, from the official install guide:
brew install infisical/get-cli/infisical
Or npm install -g @infisical/cli.
Honest limitation: You either run a server or depend on Infisical Cloud. The identity-based pricing counts machines as well as humans, so model the cost before giving every agent its own identity.
Doppler
Doppler is the hosted option I would choose when nobody on the team wants to run a vault.
Why it fits: Doppler’s guide for AI coding agents binds a scoped, read-only, expiring service token to a config, then uses doppler run to inject only those secrets into the agent process at launch. The credentials never land in .env or project files, and an official MCP server gives the agent a read-only view of projects and configs.
Verified facts: The CLI is Apache-2.0, 3.77.1 (October 22, 2026); the service itself is hosted. The official pricing page lists Developer free for 3 users then $8/month per additional user, Team at $21/month per user, and Enterprise at custom pricing. It also states that AI agents and non-human identities are not billed as seats.
Try the CLI, from the official README:
brew install dopplerhq/cli/doppler
Honest limitation: Secrets live in a vendor’s cloud unless you buy the Enterprise on-prem option. Process environment variables are still readable by anything running inside that process.
SOPS
SOPS is the choice for infrastructure teams who want encrypted files in Git and no service at all. It is also the model Varlock’s own roadmap names for its planned team vaults.
Why it fits: The official README describes an editor of encrypted files for YAML, JSON, ENV, INI and binary formats, using AWS KMS, GCP KMS, Azure Key Vault, HuaweiCloud KMS, age or PGP. Keys stay readable while values are encrypted, so diffs remain reviewable.
Verified facts: MPL-2.0, v3.13.3 (July 23, 2026). Started at Mozilla in 2015 and donated to the CNCF as a Sandbox project in 2023. It is free; you pay only for any cloud KMS you choose.
Try it: download the binary for your platform from the v3.13.3 release and follow the official docs.
Honest limitation: SOPS encrypts files. It has no schema, type checks or agent-specific controls, and anyone with access to the decryption key can read every value.
1Password CLI
1Password CLI makes sense if 1Password is already your team’s vault, and it is also one of Varlock’s own plugin backends.
Why it fits: The official secret reference docs replace plaintext values with op://vault/item/field references, resolved at runtime with op run or op inject. The developer docs also cover 1Password Environments with a mounted local .env file, an Environments MCP server, agent hooks for Claude Code, Cursor, GitHub Copilot and Windsurf, and a Claude Code plugin.
Verified facts: The CLI requires a 1Password account. The official pricing page lists the Teams Starter Pack at $24.95/month for up to 10 users and Business at $8.99 per user per month, both billed yearly.
Try it, from the official get-started guide:
brew install 1password-cli
Or winget install 1password-cli on Windows.
Honest limitation: It is proprietary and per user. If your goal was an open-source, vendor-neutral stack, this moves in the other direction.
Side-by-side comparison
These are workflow differences, not benchmark results.
| Tool | Where secrets live | Agent-specific feature | Licence | Release checked |
|---|---|---|---|---|
| Varlock | Your existing vault via plugins | .env.schema gives agents context without values | MIT | varlock@1.25.0 |
| dotenvx | Encrypted .env in Git, key kept separately | Leak prevention on commit | BSD-3-Clause | v2.38.2 |
| Infisical | Self-hosted or Infisical Cloud | Agent Vault credential proxy | MIT (plus ee/ licence) | CLI v0.45.15 |
| Doppler | Doppler Cloud | Scoped, read-only, expiring tokens; MCP server | CLI Apache-2.0, service proprietary | CLI 3.77.1 |
| SOPS | Encrypted files in Git | None | MPL-2.0 | v3.13.3 |
| 1Password CLI | 1Password vault | Environments MCP server and agent hooks | Proprietary | Docs checked |
Pricing is kept in the per-tool sections above. A free CLI is not a free vault, and a cloud plan priced per identity can grow quickly once each agent has its own.
Which one I would switch to
For a solo project or small repo, I would start with dotenvx. It is the shortest step from plain .env files, and nothing new needs to run.
For a team that wants an open-source vault, I would choose Infisical. Agent Vault keeps the actual credential out of the agent’s process, which is a stronger boundary than injecting it as an environment variable.
If nobody wants to operate a server, I would choose Doppler. The per-agent read-only token pattern is the right default, and agents are not billed as seats.
For infrastructure repos, I would keep SOPS. If 1Password is already the company vault, 1Password CLI avoids a second system.
Honestly, I would also keep Varlock itself. It remains MIT, its plugins already work with Infisical, Doppler and 1Password, and the schema layer is something none of the alternatives replace on their own.
Honest Pros and Cons
Pros: Each option keeps plaintext secrets out of committed files. The open-source choices let you inspect and fork the tool. A separate vault means rotating one key does not require editing every laptop’s .env.
Cons: Injecting a secret as an environment variable still exposes it to any code running in that process, including an agent. Encrypted files are only as safe as the decryption key. Hosted vaults add a vendor and a bill.
The acquisition is a reminder to keep your configuration contract (the schema or a variable list) in Git, independent of any one tool. None of these tools removes the need to scope agent permissions and review what they run.
FAQ
Is Varlock shutting down?
No. The announcement says Varlock will remain actively developed, open source under MIT and vendor-neutral. No shutdown, sign-up freeze, refund or data deletion dates were announced.
What changes for Varlock users?
The main change is that the planned hosted Varlock service will not ship as a separate product. That effort goes into Cloudflare Secrets Store and Cloudflare’s Developer Platform instead.
Do I need to export anything from Varlock?
No hosted Varlock account exists, so there is nothing to download. Your .env.schema is already in Git, and your secrets are in the vaults your plugins read from.
Which Varlock alternative is closest?
dotenvx is closest for local .env workflows. None of the five offers Varlock’s typed schema with @sensitive and @required decorators, so you would lose that layer by switching completely.
Can I use Varlock together with these tools?
Yes. Varlock’s plugins load secrets from 1Password, Infisical, Doppler and other backends, so you can keep the schema and change only the vault behind it.
How this ties to ai.dosa.dev
The Varlock catalog page now records the Cloudflare announcement and its roadmap change. The five alternatives were added to the catalog in the same update, each with its own tool page in the AI Code Review & Security category.
Use the linked tool pages to compare them, then verify current plans and install steps at the primary sources before you migrate.
Final Words
Keep your schema in Git, list where each secret really lives, and move one service at a time if you move at all.
For me, dotenvx for small projects, Infisical for teams that want open source, and Doppler for hosted setups are the first three trials. The best Varlock alternative is the one that keeps secret values out of your agent’s context, not the one with the most features.
Happy Testing! Which part of your setup would be hardest to replace: the schema, the plugins, or the leak scanning?
Sources
Checked December 2, 2026. Official sources are used for features, licences, installation, prices and releases; reporting supplies acquisition context.
- Varlock: Cloudflare announcement and roadmap, README, installation and MIT licence, official site, varlock on npm.
- Acquisition reporting, December 2, 2026: Unite.AI.
- dotenvx: README and installation, official pricing, v2.38.2 release.
- Infisical: README, Agent Vault and self-hosting, licence, official pricing, CLI install guide.
- Doppler: AI coding agents guide, official pricing, CLI README and Apache-2.0 licence, CLI 3.77.1 release.
- SOPS: README and MPL-2.0 licence, official docs, v3.13.3 release.
- 1Password CLI: get-started and installation, secret references, developer docs index, official pricing.