Varlock joins Cloudflare and will stay open source and vendor-neutral
Cloudflare is redirecting Varlock’s hosted plans toward Secrets Store. Coding teams can already use its .env.schema to share configuration rules with agents while keeping credential resolution in a separate process.
Varlock, an open-source toolkit for managing environment variables and secrets, is joining Cloudflare. In its December 2 announcement, Cloudflare said Varlock would remain MIT-licensed, vendor-neutral and actively developed. The team will redirect the work it had planned for a hosted Varlock service into Cloudflare Secrets Store and configuration handling across Cloudflare’s developer platform. The current Workers integration already handles validation and deployment of variables and secrets. The Secrets Store work is a roadmap commitment. Cloudflare’s announcement

The move matters to teams that let coding agents edit application setup and to the platform engineers who control what those agents can read. A coding agent adding an integration needs to know which environment variables are required and what valid inputs look like. A maintainer can put that information in a versioned .env.schema and keep the actual credentials in a vault. For teams choosing whether to adopt that format, Cloudflare’s commitment to vendor neutrality is relevant because the existing toolkit already supports providers including 1Password, AWS Secrets Manager and HashiCorp Vault. Varlock repository
Give the coding agent the configuration rules
A typical .env.example can list keys and sample values. A Varlock schema can also declare that a value is required, mark it sensitive, specify a type and tell Varlock where to resolve it. The schema gives a reviewer one place to check whether a new integration adds a required variable. It also gives the agent enough information to write a missing-variable test using a fixture. Here is a small schema for an application with a URL and a required token. The empty token entry leaves the value to be supplied separately. Varlock repository examples
# @type=url
INVOICE_API_URL=https://invoice.example.com
# @required @sensitive @type=string
INVOICE_API_TOKEN=
The access boundary still depends on how the coding session is launched. The schema describes the variable, and a process with access to a vault or an inherited credential can still resolve or read the value. A practical pilot is to give the agent a checkout with the schema and a test fixture. Check that the app rejects a missing token and accepts the fixture, then leave the real integration check to a CI job with its own scoped access. Review schema changes alongside the code that consumes the variable so a pull request shows when a new dependency becomes mandatory. Varlock also documents runtime redaction, which addresses accidental output from an initialized application. About Varlock · Related coverage on where review bots execute and what they can read
Workers teams need to inventory dashboard secrets first
Varlock’s current Workers guide documents varlock-wrangler, a wrapper that resolves configuration and injects it into Miniflare for local development. At deployment, it uploads non-sensitive values as Worker vars and sensitive values as Worker secrets. The integration requires Workers’ nodejs_compat flag. Its runtime initialization enables console redaction and response leak detection by default. Varlock’s Workers integration guide
The migration detail with the biggest immediate consequence is how the wrapper handles existing values. The guide says varlock-wrangler deploy replaces the Worker’s plain vars and secrets with those defined in .env.schema. A key added manually in the dashboard or through Wrangler can disappear on the next deploy if the schema omits it. Before switching a deployment job, compare the names already configured on the target Worker with the schema. Account for any values the team added outside the repository, then verify the app starts on a staging Worker and can reach its test dependency. KV and D1 bindings remain in Wrangler configuration. Varlock’s Workers integration guide
Cloudflare also wants the @env-spec syntax behind .env.schema to become an open standard that other tools can implement. Varlock already publishes a parser. Wider adoption depends on implementations beyond Varlock, and the announcement gives no delivery date for the Secrets Store work. Teams can assess the current toolkit on a concrete question today. Can a coding agent complete a configuration change using the schema and fixtures while the deployment job retains control of the real credentials? Cloudflare’s announcement · Varlock repository