Varlock joins Cloudflare, keeping configuration rules separate from secrets


Open-source commitment
Cloudflare says Varlock will remain MIT-licensed, vendor-neutral and actively developed.
Rules without credentials
A versioned configuration schema can give coding agents variable names, types and requirements without embedding real secrets.
Integration versus roadmap
Workers support already exists, while the announced Secrets Store work remains a roadmap commitment.
Cloudflare announced on December 2, 2026, that Varlock, an open-source toolkit for environment variables and secrets management, is joining the company. Varlock will remain MIT-licensed, vendor-neutral and actively developed. Work planned for a hosted Varlock service will instead support Cloudflare Secrets Store and configuration handling across its developer platform.1
For platform engineers and application security teams, the immediate value is an existing capability: defining configuration requirements separately from credential values. Coding agents can work with configuration names and rules while a separately authorized process resolves credentials. This does not, by itself, prevent an agent from accessing secrets already available to its session.4
Varlock replaces the conventional .env.example with a version-controlled .env.schema. Decorator comments declare requirements and types; function syntax loads values from external vaults or encrypted local files. Cloudflare’s example marks a Stripe key as required and sensitive, restricts its prefix, and references 1Password rather than embedding the credential.1
The distinction is between documenting a setting and validating its value. A schema makes requirements machine-readable, rather than leaving developers to reconcile example files, documentation and application code. Moka air’s announcement-based explainer describes it as a common definition for typed configuration, validation and vault-backed loading—not a replacement for the vault.5
A format check is not authentication: a key matching the expected prefix is not necessarily valid, authorized or unexpired. The schema’s demonstrated role is configuration validation, not verification of every downstream service’s access policy.1
Sulat author JP Caparas reports testing Varlock 1.25.0 with fake credentials on throwaway projects. An invalid port caused configuration loading to fail, along with a dependent URL. Caparas also reported masked terminal output, detection of a hardcoded credential, and a blocked Workers response that attempted to return a secret.2
These observations were not independently reproduced for this article, and the tests did not involve a coding agent. The child process still held the real credential: it could write the value to a file and print an encoded version without masking. Output redaction should therefore not be mistaken for process isolation.2
Caparas also could not get an early-preview credential proxy to substitute a real key for a placeholder. The sandbox used an outbound proxy, and the cause was not isolated. The result establishes neither reliable operation in that environment nor a general failure of the feature.2
Varlock already has a Workers integration. Its official guide documents local configuration injection and deployment of non-sensitive values as Worker variables and sensitive values as Worker secrets. Automater’s coverage distinguishes this available integration from the future Secrets Store work.4
Deployment replaces existing Worker variables and secrets with those defined by the schema. Teams should reconcile dashboard-managed configuration before switching deployment workflows: omitting a value can remove it on the next deployment.4
The Next Web reports that the acquisition redirects the planned hosted offering toward Secrets Store. That change does not establish that a new Secrets Store integration has shipped.3 Specific integration features and delivery dates were not announced, Moka air notes.5
A practical evaluation should distinguish configuration correctness from credential access. Give an agent the schema and test fixtures, while reserving real credential resolution for an appropriately scoped deployment or integration-test process. Review schema changes alongside application changes so new mandatory dependencies remain visible.4
Cloudflare also wants .env.schema and its @env-spec syntax to become an open standard. That is an ambition, not an established interoperability guarantee. For now, teams should assess the available toolkit and its access boundaries separately from the broader platform roadmap.1
Configuration schema
A machine-readable definition of application settings, including their names, types and validation requirements.
Secret resolution
Retrieving an actual credential from its storage location when an authorized process needs it.
Redaction
Masking sensitive values in output; it does not necessarily stop the running process from accessing those values.
Vendor-neutral
Designed to work with multiple providers rather than requiring one company’s storage or deployment platform.
Comments