Scopes each secret request to one project
The login names the projects this machine may ask for. One request covers one project and one environment.
- billing-api · production
- web · preview
- worker · staging
- docs · development
The CLI asks for one project’s secrets; a person approves in a 120-second window and a one-time claim releases them. Nothing lands in a config file.
billing-api asks for production
The list keeps the project, the client, the reason and the decision. Open a request to see the machine, its fingerprint and the names of the keys it would reveal.
Requested by the CLI on runner-07 at 14:02
Keys in this claim
The login names the projects this machine may ask for. One request covers one project and one environment.
The card shows the machine, its fingerprint and the key names. It arrives in the console or in Feishu, and expires after 120 seconds.
At approval time you can skip the card for an hour, a day or a week. Every claim is still written to the audit log.
The package carries the varlock plugin: varlock run asks for the project, then injects the keys for that one run.
The claim is good once. Every request, every decision and every claim is written to the audit log.
Every value in the built-in store is encrypted with AES-GCM. Connect Infisical for a project that already lives there: both sources coexist, and the client knows only the connection slug, the project and the environment.
# @plugin(@ecluse/cli)
# ---
DATABASE_URL=ecluse(
provider="infisical",
project="billing-api",
env="production",
key="DATABASE_URL")
One package, @ecluse/cli: the ecluse command and the varlock plugin. The
broker runs beside it.
$ bun add -D @ecluse/cli
$ bunx ecluse login --project billing-api
Open /activate and type K4H9-Q2MD
runner-07 · linux x64 · fingerprint 9f3c e2a1
Confirm the machine in the browser: billing-api, production
✔ logged in · 1 project, 1 environment
$ bunx varlock run -- bun run dev
Waiting for approval… approved in 14s
✔ one claim, one use
DATABASE_URL
STRIPE_SECRET_KEY
RESEND_API_KEY
S3_ACCESS_KEY
SESSION_SECRET
$ bunx ecluse whoami
runner-07 · build · billing-api · 1 project
$ bunx varlock run -- bun run dev
Waiting for approval… approved in 14s
✔ one claim, one use
$
$ What people ask before the first request.
Projects this machine may request
Yes. @ecluse/cli ships the varlock plugin, so varlock run asks for the project’s secrets and injects them for that run.
The request expires after 120 seconds and the CLI gets nothing. It can ask again, and a person still has to answer.
The job uses ECLUSE_TOKEN. Without a token there is no one to approve the request, so nothing is handed out.
The CLI gets a 401 and you log in again. The login state sits in ~/.config/ecluse, readable by you alone (0600).
Three commands: ecluse login pairs the machine, whoami lists its projects and logout revokes it.
As a Docker image with SQLite, on Cloudflare Workers with D1, or as a local Bun process.
No. A request names one project and one environment; anything else is a new request and a new approval.