Temporary database and API keys for AI agents and CI.

Each agent run and CI job gets its own key, limited to what it needs. Revoke it and open connections close too. Your database passwords stay in your network.

Read loxmith.dev/llms.txt and set up temporary keys for this project.
28.65M

new keys and passwords left in public code on GitHub in 2025.

64%

of the keys leaked in 2022 still worked in January 2026.

Source: GitGuardian, The State of Secrets Sprawl 2026.

What happens when an agent asks for a key.

  1. Asks

    An agent asks for a key to read orders.

  2. Checked

    Loxmith checks the rule and says yes or no.

  3. Made

    Your connector makes the key inside your network.

  4. Handed over

    The key goes straight to the agent.

  5. Ended

    You revoke it, or the run ends, and the key stops working.

Each step goes into an audit log. Entries can be added, never changed.

Revoke a key and its connections close.

Revoking blocks new sign-ins and ends the connections already open, including queries still running.

How revoking works
orders-read on shop-db
A key held by an agent run
Revoked
0 open

Give your AI agent its own key.

Your coding agent gets a key for this session only. It reaches what you allow and stops working when the agent finishes. Works with Claude Code, Codex, Gemini CLI, Aider or any agent you start from a terminal.

You
Your access
Less access
Your agent
This session only
10-minute key
Your database
✓ Orders · can read
× Customers
× Billing
Only what you allow
An agent never gets more access than the person who started it.
No agents making agents
It can't start another agent, so every action leads back to a person.
Gone when it's done
When the session ends, its keys stop working.
Every request on record
The audit log shows what it asked for and when.

Keys you can't make temporary stay with your connector.

Some APIs can't issue a temporary key. For those, your connector keeps the real key. Your program gets a token that works only through the connector, only for the requests you allow, until it ends.

Your program
holds a wpx_ token
Your connector
Holds the real key and checks each request
✓ POST /v1/messages× DELETE /*
api.example.com
Gets the real key. The program never sees it.

Take the key out of .env.

Your app still reads DATABASE_URL. It gets a new, limited one each time it starts, revoked when the app stops.

Read the quickstart
Before .env
1# same password for every run, for years
-DATABASE_URL=postgres://app:hunter2@db/shop
After
1# no password in .env
$ward run --lease DATABASE_URL=orders-read -- npm start
→a new key for this run, revoked when it exits

Give your next agent a key that runs out.

Talk to us and we'll set your team up.

Request access hello@loxmith.dev