Lockwell

Agents

Secrets for agents and automation, without putting them in a prompt

An agent should use a secret without ever holding it in its context. Lockwell gives a script or an agent its own identity and keeps values in its process.

Its own identity On Lockwell

Give each agent or automation a machine identity of its own, read-only and scoped to the folder it needs. Its tokens last an hour, every read is in the audit log under its name, and deleting it stops it at once. Read values in code, into the process, never into the model's context.

export VAULT_ADDR=https://vault.lunaor.com
# a machine identity made in the console logs in (Vault's AppRole): a token for an hour
export VAULT_TOKEN=$(curl -sf "$VAULT_ADDR/v1/auth/approle/login" \
  -d "{\"role_id\":\"$ROLE_ID\",\"secret_id\":\"$SECRET_ID\"}" | jq -r .auth.client_token)

Check text for leaked secrets On Lockwell

Before an agent posts a log, a diff or a pasted config anywhere, ask Vault which of the secrets it can read appear in it. The answer names the path, field, version and offset, never the value, so the agent can redact it and you know what to rotate. Vault matches the actual values, not patterns that look like keys.

# fail the job if its log holds any secret this identity can read, naming which to rotate
jq -Rs --arg p lw-<team>/ci/ '{text: ., prefix: $p}' build.log > payload.json
curl -sf -H "X-Vault-Token: $VAULT_TOKEN" --data @payload.json "$VAULT_ADDR/v1/scan" > scan.json
jq -r '.data.leaks[] | "leaked: \(.path) \(.field) (version \(.version))"' scan.json
jq -e '.data.leaks == []' scan.json > /dev/null

Hand a value over once On Lockwell

When a person needs a value an agent can read, the agent makes a one-time link or a wrapped answer instead of pasting the value into a chat.

Vault's MCP server

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.