How approvals work
An AI agent never holds your vault. It asks for one value at a time, and you, or a setting you confirmed, answer.
AI tool bridge approver (Claude Code, …) ─────► keypaste mcp ── pipe ──► the app, or keypaste approve • holds no vault • holds the vault unlocked • sees names, not values • asks you or applies your settings • logs the answer, then repliesThe three parts
Section titled “The three parts”- The bridge. Your AI tool starts
keypaste mcp. It lists the item names it may see and passes each request on. It never opens the vault and never asks for the master password. - The approver. The desktop app while the vault is unlocked, or
keypaste approvein a terminal. A vault has one approver at a time. With none, every request is refused, and no request can make a password prompt appear. - Your settings. Each kind of value is Ask, Allow or Block for each agent (agent settings). Ask is the default and puts the request to you.
The prompt
Section titled “The prompt”The prompt names the agent by its label, the item and field, the vault, and the reason the agent gave. The reason is the agent’s own words, shown as a claim.
| Answer | What it does |
|---|---|
| Deny | Sends nothing. The same field is then refused for a minute without asking. |
| Allow once | Sends this one value and keeps nothing. |
| Always allow | Keeps sending that field to that agent without asking, until you remove it in Agents or with keypaste clients. |
No answer within 45 seconds is a Deny, but the agent may ask again.
Some requests are asked every time, with no Always allow, even when a setting would allow them:
- running a command with an environment’s variables, and the first load of a stage into each terminal
- a value from a protected stage such as
prod - a linked set of fields from several items
- moving, expiring or deleting an item
The record
Section titled “The record”The approver writes a line to the audit log for every request it answers, before it replies, and refuses a request whose line can’t be written. A line never holds the value. keypaste log and the app’s Activity read it (the audit log).
What it can’t do
Section titled “What it can’t do”- Take back a value it released. The AI tool can keep it, and send it to its model provider.
- Stop an agent’s shell commands from reaching around keypaste. Sandbox them (Sandbox your AI tool).
- Check the agent’s reason. Read it as a claim, and allow only what you expected.
Next steps
Section titled “Next steps”- Set what each agent gets
- How keypaste keeps agents in check
- Full details: the terminal prompt, waiting requests, runs and every limit. The guarantees are in SECURITY and THREATS.