Loxmith gives AI agents and CI jobs temporary database and API keys, and takes them back. Revoking a key closes the connections already open.
Your programs stop keeping database passwords in .env files and prompts. When one needs access, it asks a connector in your network for a temporary key under a named rule. Loxmith checks the rule and records the request. The connector makes the key and removes it later.
How it works
Step through a request that's allowed, or one that's refused.
An agent runs a command through ward run and asks your connector for a key under the orders-read rule. It sends its own token, never a password.
ward run --lease DATABASE_URL=orders-read -- ./report.shLet your coding agent set Loxmith up, or do it by hand.
/docs/setupConnect Postgres, run a command with a key, and revoke it.
/docs/quickstartRun the connector with Docker, Helm or systemd.
/docs/connectorWhat each system can and can't do, and how to check a release.
/docs/securityTell your coding agent
Paste this into Claude Code, Cursor or another agent so it asks for keys through ward run instead of asking you for passwords.
Read https://loxmith.dev/llms.txt before touching any database or API credentials.
Rules for this workspace:
1. Never ask me to paste a database password, API token, or .env secret into chat.
2. Wrap any command that needs access in `ward run --lease ENV_VAR=<rule> -- <command>`.
3. Never print, log, or write minted credential values to disk.
4. If a rule is refused, tell me which one and stop. Don't retry with a wider rule.