Cloud Security Cloud Workload Security

Cloudflare Brings Varlock Into Its Developer Platform

Cloudflare says Varlock, an open-source toolkit for managing environment variables and secrets, is joining the company. The project will remain actively developed, vendor-neutral and available under the MIT license, while work that might have supported a hosted Varlock service will instead go toward Cloudflare Secrets Store and configuration and secret handling across Cloudflare’s Developer Platform.

The move puts Varlock’s schema-based approach to application configuration alongside Cloudflare’s developer products. The companies also intend to advance an open standard for environment configuration, with the goal of making the proposed schema and syntax useful beyond Varlock itself.

Making configuration requirements explicit

Application teams often document required environment variables in several places: example files, README documents, comments and custom validation code. That fragmentation can make it difficult to know which settings an application needs, what values are valid and which entries are sensitive. Secrets may also be stored in plaintext local files, passed through chat or duplicated across dashboards, complicating management and rotation.

Varlock’s alternative is a committed .env.schema file that serves as a shared reference for configuration. Its declarations can specify types and rules using JSDoc-style decorator comments, including markers such as @required, @sensitive and @type. The project’s @env-spec syntax also supports declarative loading of values from external vaults or encrypted local files.

In an example described by the project, an API URL can be typed as a URL, while a payment-provider key can be marked required and sensitive, constrained to begin with a particular prefix, and associated with documentation. A plugin declaration can connect the configuration to a secret provider. The aim is to combine validation, type checking and secret retrieval in one place rather than relying on separate, potentially inconsistent mechanisms.

Cloudflare says the schema can give development teams and coding agents a safer way to work with environment variables without exposing secret values. That is relevant as AI-assisted tools increasingly interact with application code and configuration. The company says agentic development can amplify existing vulnerabilities and supply-chain risks, while introducing concerns such as prompt injection.

Open-source plans and Cloudflare work

Cloudflare says Varlock’s open-source project will continue, including first-party plugins for widely used secret vaults and frameworks. The company says much of the existing roadmap remains in place, with planned work covering improved agent workflows, broader language support beyond JavaScript, native encryption utilities and SOPS-style team vaults that do not require an external backend.

Instead of pursuing a hosted Varlock product, the team will redirect that effort to Cloudflare Secrets Store and improvements to configuration and secret management across Cloudflare’s platform. The announcement does not specify a release schedule or describe particular product integrations beyond that direction.

Cloudflare also says it wants .env.schema and the @env-spec syntax to develop into an open standard that other technologies can adopt. That ambition depends on participation beyond Cloudflare; the company is inviting outside contributions to the effort. Varlock users can continue to contribute through the project, and Cloudflare points developers to a Workers integration guide as an entry point.

Secrets in agent-driven development

The announcement frames configuration management as part of a broader challenge around identity and access. Cloudflare says it is exploring credential brokering, OpenID Connect (OIDC), bot identity, improved machine processes for issuing and rotating secrets, stronger boundaries and human approvals. These are described as areas of work, not as features already delivered through Varlock or Secrets Store.

Cloudflare also raises the possibility that many long-lived secrets could eventually be replaced, while acknowledging that the transition will take time. For now, Varlock’s schema-first model aims to make configuration requirements clearer and secret handling more deliberate. Its continued open-source status, alongside the planned Cloudflare platform work, leaves the project positioned both as a standalone toolkit and as a potential building block for a wider configuration standard.