Changelog

What’s new in Envi

Every change you’d notice, newest first. Update the CLI with envi update now.

Add several secrets at once

The dashboard's Add secret dialog now takes as many secrets as you like and saves them together.

  • Type a key and value, press Add (or Enter), and the pair joins a list; save the whole list with one click.
  • Click a queued key to edit it, or remove it before saving. Keys that already exist are marked, since saving replaces them.
  • A pair left in the fields is saved too, and closing the dialog asks before discarding anything unsaved.

Security hardening

Fixes from a security review of the API, the web app and the installers. Nothing changes for normal use.

  • Project names in invitation emails are escaped, so a name can't inject HTML into someone's inbox.
  • Starting a CLI sign-in, approving one, refreshing a session and exchanging an API key are now rate limited.
  • A single secrets write takes at most 1000 keys and 64 KiB per value, and is written in one transaction.
  • Service tokens work only on the secrets routes, and a write API key can't manage access, credentials or billing, including on any route added later.
  • A write service token can now delete secrets, not just set them.
  • Every API error has the same {code, error} shape, and too many attempts at a login code answers 429.
  • The self-hosted installer escapes the admin email it writes to the users file, and only fetches the instance installer over HTTPS.

A new logo

Envi has a new mark: a yellow folded e beside the envi wordmark.

  • The site, docs, Envi Cloud dashboard, favicons and app icons use the new logo in light and dark mode.

Sign-in page holds only GitHub for now

The Google placeholder is gone; the sign-in page holds a single disabled GitHub button until OAuth is wired up.

  • Removed the Google sign-in placeholder. GitHub stays as a disabled Soon button above the email code form.

Welcome screen for new sign-ups

New accounts land on a setup page: install the CLI, sign it in, and optionally add a payment method for a free first month of Team.

  • After sign-up you see install and envi auth commands with copy buttons. Skip finishes setup and takes you to the dashboard.
  • Adding a payment method starts the Team plan with the first month free. The welcome screen never shows again, on any device.

envi get, envi set and envi delete

Read, change or remove one secret from the terminal, without pulling a .env or opening the dashboard.

  • envi get KEY prints just the value, so $(envi get DATABASE_URL) works in scripts. It works in CI with only a service token, like envi run.
  • envi set KEY=value adds or updates secrets and leaves the rest alone. envi set KEY on its own asks for the value without showing it, or reads it from a pipe, so it never lands in your shell history.
  • envi delete KEY removes secrets after asking; --yes skips the question.
  • All three take --origin, and writing to a production origin asks first.

Installer warns when an old envi shadows the new one

The install script now tells you if another envi earlier on your PATH will keep running instead of the copy it just installed.

  • curl -fsSL https://install.envisecrets.com | sh (and install.ps1 on Windows) warns with the shadowing copy's path instead of reporting success while envi still runs an old, possibly broken, npm or bun install.

Send secrets to Cloudflare Workers

envi workers puts an origin's secrets on a Cloudflare Worker through your own wrangler, and runs wrangler dev with them, so there is no .dev.vars to keep in sync.

  • envi workers push sets the origin's secrets on the Worker. Values go to wrangler on standard input, never in a file or an argument.
  • envi workers dev runs wrangler dev with the secrets in its environment and nothing written to disk.
  • envi workers deploy pushes, then runs wrangler deploy.
  • envi workers status compares the names in Envi with the Worker's, and envi workers delete <key> removes one.
  • A [workers] table in envi.toml maps each origin to a wrangler environment. Production asks before sending; --yes skips the question in CI.
  • Names already in [vars] are skipped with a warning, --prune deletes secrets that aren't in Envi, and --dry-run shows the changes without sending anything.

Self-hosted first, with Envi Cloud next to it

Envi is now made to run on your own server first. The hosted dashboard is Envi Cloud, at cloud.envisecrets.com, and it keeps its free tier and paid plans.

  • envisecrets.com now shows how to install your own instance and the CLI.
  • The dashboard moved to cloud.envisecrets.com. Old links, including invitations, take you there. Sign in once more, since sign-ins belong to the old address.
  • Nothing changes for the CLI or CI: the API stays at api.envisecrets.com.
  • envi auth asks whether you sign in to Envi Cloud or your own instance, and remembers the answer. envi auth --cloud or envi auth --url <api-url> skip the question.

The shell hook is gone

Loading secrets when you cd into a folder is removed. envi run -- <command> does the same job for one command, with nothing left in your shell afterwards.

  • envi hook, envi allow, envi deny and envi reload are removed.
  • If you installed the hook, update the CLI with envi update now. The next shell you open takes the hook out of its startup file, with one line saying so.
  • The install script no longer asks about the hook.

Self-host Envi on your own server

Envi now runs on a server you own, with everything free: no billing, no email provider, no limit on people or projects. One command installs it.

  • Install an instance with curl -fsSL https://install.envisecrets.com | sh -s instance. The same link still installs the CLI.
  • Choose how people reach it: a domain with HTTPS from Let's Encrypt, a domain behind the reverse proxy you already run, or the server's IP on a private network.
  • Docker keeps the instance to itself on two private networks. Postgres and Redis open no ports on the server. pm2 is there for servers without Docker.
  • People sign in with an email and password. The admin adds people on the new Users page, gets a password to hand them, and picks which projects each one sees.
  • A forgotten password is reset by writing a new one into the users file. Nothing is emailed.
  • envi set-url <api-url> points the CLI at your instance; envi set-url --reset points it back at Envi Cloud.
  • envi-instance looks after the server: status, logs, restart, backups and updates.

A faster API, closer to you

The API moved to Cloudflare Workers, with the database on Neon and a Redis cache on Upstash. Nothing changes for you: the same address, the same CLI, the same data.

  • api.envisecrets.com now answers from Cloudflare's network instead of a single server.
  • The docs now live at docs.envisecrets.com, served by the same site as the dashboard.
  • install.envisecrets.com is served by Cloudflare too.
  • The npm package is no longer maintained. Install and update the CLI with the install script, which also works in Docker images and CI.

Copy secrets to the clipboard

envi copy puts secrets on your clipboard without writing a file.

  • envi copy copies every secret as .env lines; envi copy KEY copies one value.
  • envi copy --single lets you pick one from a list.

Delete a local .env safely

envi clean deletes your local .env only once Envi already holds the same secrets, so nothing is lost.

  • envi clean checks the server first and refuses if the file and the server differ.
  • envi push --clean pushes, then deletes the file.