Use case
Undo a bad change
A deploy script wrote empty values over half of prod/ at 09:05. Every write was a new version, so nothing is lost: see what changed, then put the folder back.
1. See what changed
A diff names the fields each version changed, never their values. The folder's list in the secrets editor shows which secrets changed and when.
curl -sf -H "X-Vault-Token: $VAULT_TOKEN" "$VAULT_ADDR/v1/lw-<team>/diff/prod/db" | jq .data
curl -sf -H "X-Vault-Token: $VAULT_TOKEN" "$VAULT_ADDR/v1/lw-<team>/metadata/prod/db" | jq '.data.versions'2. Restore the folder as of a time
Preview first: for each secret directly in the folder, Vault says whether it would be restored, deleted (made since), left unchanged, or is lost (that version was destroyed). Then apply. Each restored secret comes back as a new version, checked against the current one, so a fix someone made meanwhile isn't overwritten.
# what restoring prod/ as of 09:00 would change: names and versions, never values
curl -sf -H "X-Vault-Token: $VAULT_TOKEN" "$VAULT_ADDR/v1/lw-<team>/restore/prod/" \
-d '{"as_of": "2026-12-05T09:00:00Z"}' | jq .data
# then apply it: each secret's version from then comes back as a new version, nothing destroyed
curl -sf -H "X-Vault-Token: $VAULT_TOKEN" "$VAULT_ADDR/v1/lw-<team>/restore/prod/" \
-d '{"as_of": "2026-12-05T09:00:00Z", "dry_run": false}'Nothing is destroyed, so a restore can itself be undone by restoring to just before it. Restoring needs a write identity for the folder.
One secret
To bring back one secret, read the version you want (?version=N) and write it as the newest. A soft-deleted secret comes back with Undelete in the editor.
Vault keeps 10 versions per secret by default. A version past that, or one destroyed, can't be restored.
More use cases
Get secrets out of .env files
Move an app's .env into Lockwell and start it with its secrets as environment variables, with nothing on disk.
Secrets in CI
Give each pipeline an identity that reads one folder for an hour, mask values in logs, and fail the build on a leak.
Hand a secret to someone once
A contractor or a vendor needs one API key. Send a link that opens once, not a message that stays forever.
Move your first app's secrets in an afternoon.
Free for up to 100 secrets and 2 machine identities. Every teammate is free on every plan.