SC-019 · Developer Utilities

EnvVault

Per-environment configuration with change history, access controls and drift checks

EnvVault is a concept for managing environment configuration in one place: variables defined per environment, every change recorded, access scoped by role, and drift between environments flagged before a deploy.

  1. 01Concept
  2. 02Planned
  3. 03In Development
  4. 04Beta
  5. 05Live

This product is not yet available. The documentation below describes the planned product and may change as we build it.

01Purpose

Configuration tends to spread. A value lives in a local .env file, a CI setting, a hosting dashboard and a teammate's notes, and these copies diverge. A deploy fails in production because a variable added in staging never made it across, or a value changes and nobody can say who changed it or why.

EnvVault is a concept for treating configuration as a managed record. Each project would define its variables once, with a value per environment, an owner and a description. Every change would be recorded with its author, time and reason. Drift detection would compare environments with each other, and with what is actually deployed, to show missing keys, unexpected keys and values that differ where they should match.

02Who it is for

  • Developers — pull the right configuration for local work without passing files around.
  • DevOps and platform engineers — keep staging and production aligned and see every change.
  • Engineering leads — control who can read or edit production values.
  • New team members — understand what each variable does from its description instead of asking around.
  • Release managers — check for missing configuration before approving a deploy.

03Planned features

  • Environment matrix — A grid with variables as rows and environments as columns, showing set, missing, inherited and overridden values at a glance.
  • Change history — Every edit is recorded with the previous value (masked for sensitive entries), author, timestamp and optional reason, and can be reverted.
  • Role-based access — Planned roles such as viewer, editor and approver, scoped per environment, so production edits can require an approval step.
  • Drift detection — Compare two environments, or an environment against a deployed target, and list keys that are missing, unexpected or unexpectedly different.
  • Variable metadata — Descriptions, owners, expected formats and a flag that marks a value as sensitive.
  • Format checks — Validate values against an expected type such as URL, integer or boolean before saving.
  • CLI and export — Planned command-line access to fetch configuration for a given environment, plus export to .env and JSON.

04Use cases

Preventing a missing-variable deploy

A developer adds a new feature flag in staging. Before the production deploy, the release checklist runs a drift comparison that lists the flag as missing in production. The value is added with a recorded reason, and the deploy proceeds.

Answering who changed what

An integration starts failing on a Tuesday. The production change history shows that an endpoint URL was edited the day before, with the reason "moving to new region". The previous value is restored in one step while the team investigates.

Onboarding a developer

A new engineer runs the CLI to fetch development configuration. Each variable arrives with a description, so the purpose of the payment sandbox key and the queue URL is clear without digging through old chat threads.

05How it is intended to work

  1. Create a project — Define its environments, such as development, staging and production.
  2. Import variables — Upload existing .env files; EnvVault would merge them into the matrix and highlight conflicts.
  3. Describe and classify — Add descriptions, owners and sensitivity flags.
  4. Set access — Assign roles per environment and decide which environments require approval.
  5. Consume — Fetch configuration through the CLI or export it for your deployment process.
  6. Watch for drift — Run comparisons on demand or as part of each release.

06Technical overview

Planned architecture

The concept stores each variable as a record with per-environment values and an append-only change log. Sensitive values would be encrypted at rest with keys held separately from the application database, and decrypted only when an authorized user or token requests them. Drift detection would compare key sets and value hashes, so environments can be compared without revealing sensitive values on screen.

Data and integrations

  • Planned import and export for .env, JSON and YAML files.
  • Possible connectors to CI systems and hosting platforms for reading deployed configuration during drift checks.
  • A planned CLI and API for fetching values at build or start time.

Security and privacy

  • EnvVault is a concept and has not been independently audited or certified against any standard. Teams should evaluate any future release against their own requirements.
  • Sensitive values are designed to be masked by default in the interface and in change history.
  • Tokens for automated use would be scoped to a single project and environment, with an expiry date.
  • Every read of a sensitive production value would be logged.

07Documentation

Getting started (planned)

Import one project's existing .env files first. The conflicts surfaced during import are often the most useful early output.

Key concepts

  • Environment — A named deployment target with its own set of values.
  • Override — A value set specifically in one environment, replacing an inherited default.
  • Drift — Any unintended difference between environments, or between EnvVault and a deployed target.
  • Sensitive flag — A marker that causes a value to be masked, encrypted and access-logged.

Limitations and considerations

  • EnvVault is at concept stage; the design may change substantially, or the product may not proceed.
  • It is not intended to replace a dedicated secrets management system with capabilities such as dynamic credentials or hardware-backed key storage.
  • Drift detection against deployed targets depends on connectors that do not yet exist.
  • Configuration embedded in code or infrastructure templates is outside its view.

08Roadmap

  1. Phase 1Planned

    Environment matrix and history

    Variable records per environment, .env import and an append-only change log with revert.

  2. Phase 2Planned

    Roles, approvals and sensitive values

    Per-environment roles, approval steps, masking and encryption of flagged values.

  3. Phase 3Planned

    Drift detection and CLI

    Environment-to-environment comparison and command-line fetching with scoped tokens.

  4. Phase 4Planned

    Deployment target connectors

    Possible connectors that read deployed configuration for drift checks against live targets.

09Questions

Is EnvVault available?

No. EnvVault is an early concept and has not been built or released. Its scope may change based on feedback.

Is EnvVault a secrets manager?

It overlaps with one by handling sensitive values, but it is focused on configuration consistency and history. It is not intended to replace a dedicated secrets management system.

Does EnvVault hold any security certifications?

No. It is a concept and has not been audited or certified. Any future release should be evaluated against your own security requirements.

Can we keep using .env files locally?

Yes. The plan includes exporting configuration to .env files, so local tooling can stay as it is.