# Cloudflare says open-source secrets toolkit Varlock is joining the company

Cloudflare says Varlock, a tool for handling environment variables and secrets in applications, will stay open source under the MIT licence and remain vendor-neutral.

Security · By ITANU Magazine newsroom · Published 2026-12-02T17:26:54.000Z · 2 min read

## Key points

- Cloudflare announced that Varlock, an open-source toolkit for environment variables and secrets, is joining the company.
- Cloudflare says Varlock stays open source under the MIT licence and vendor-neutral.
- Cloudflare says work once aimed at a hosted Varlock product will go to Cloudflare Secrets Store instead.
- Cloudflare wants the .env.schema file format and @env-spec syntax to become an open standard.

Cloudflare announced that Varlock, an open-source tool for handling environment variables and secrets, is joining the company [1]. Environment variables are named values that a program reads from its surroundings when it runs. Cloudflare says Varlock will continue to be actively developed, stay open source under the MIT licence and remain vendor-neutral [1].

In its blog post, Cloudflare describes the problem the tool targets. To find out what configuration values an application requires, the company says, developers typically have to gather clues from several places: a stale example env file, the README, bespoke validation logic, and notes scattered throughout the repository [1]. The company also says sensitive API keys often sit as plaintext in .env files on developers' laptops, get passed along in chat messages and end up pasted into several dashboards [1].

## How the tool works

According to Cloudflare, Varlock swaps the .env.example file for a .env.schema file that teams commit to Git [1]. Cloudflare says types and rules are declared in that file through decorator comments modelled on JSDoc, for example # @required [1]. Git is a version control system that tracks changes to source code.

Cloudflare says this schema layer adds validation, type safety and a single source of truth, and gives coding agents a safe way to work with environment variables without leaking values [1]. The company adds that AI-assisted development has amplified these long-standing problems, and it names prompt injection as one new class of exploit [1].

## What changes under Cloudflare

Cloudflare says work that was headed toward a hosted version of Varlock will instead go to Cloudflare Secrets Store and to improving how configuration and secrets are handled across its platform [1]. It cites its recent purchases of Astro and of VoidZero, which it says is the team behind Vite, Oxc and more, as evidence of a track record of backing open-source developer tools while staying neutral [1].

The company says much of the existing Varlock roadmap is unchanged. According to Cloudflare, work is under way on better agentic workflows, broader support for languages beyond JavaScript, improved built-in encryption tools and team vaults in the style of SOPS that need no external backend [1].

Cloudflare also says it wants the .env.schema format and @env-spec syntax to extend beyond Varlock and be pushed as an open standard across many technologies [1]. It says that effort will need help from outside the company and asks interested parties to get in touch [1].

## Sources

1. [Varlock is joining Cloudflare](https://blog.cloudflare.com/varlock-joins-cloudflare), The Cloudflare Blog (Primary)

ITANU’s newsroom system produced this article with AI and checked it against the sources listed above.

Canonical: https://itanu.org/magazine/cloudflare-says-varlock-secrets-toolkit-joining-company-yvxofemu/
