Skip to content

Capability · Secrets

A write-only vault the model can never read

A write-only vault: Pea writes {{secret:NAME}}, the runtime swaps in the value at dispatch and scrubs it from what comes back. Nobody can read a stored value — not you, not the model.

PUT sk_live_••••no read path{{secret:HUBSPOT_KEY}}dispatchafter approvalyouwhat the model sees
In the productCatalog

API & secrets · Secret vault

Write it once. Never read it back.

Add a key with a name and an optional note. From then on the vault shows its last four characters, and nothing can show more.

  • Replace to rotate, delete to remove
  • Copy the {{secret:NAME}} reference from the row’s menu
Start free

Chat · Pasted keys

A pasted key is sealed first

Paste a recognised key into the chat and it goes into the vault before the message is stored. The chat keeps the placeholder in its place.

  • Vendor prefixes only, never guesses
  • A taken name gets a suffix; it never replaces a live key
Start free

Chat · {{secret:NAME}}

The model sees a name, not a key

Pea writes the placeholder into the tool call. The runtime swaps in the value at dispatch and scrubs it out of whatever comes back.

  • Proposals are stored with the placeholder
  • Tools that store their arguments never receive a value
Start free

API & secrets · Projects

One name, a value per project

Give a project its own value for a name the workspace already uses. Its turns use it; every other project keeps the workspace’s.

  • Each row says whether it is this project’s or shared
  • Ciphertext is bound to its scope and cannot be moved
Start free

Catalog · Tool libraries

Your own APIs, by vault name

Build tools from an API’s OpenAPI document and pick the vault secret it authenticates with. The library stores the name; the value never leaves the server.

  • Calls can only reach the library’s own https origin
  • Keys for Monopea’s own products are checked, then sealed the same way
Start free

Giving an AI agent your API keys is the part everyone rightly hesitates over. monopea removes the dilemma with a write-only vault: you store a secret once, and from that moment there is no API, no tool and no prompt that returns the plaintext — not to you, and not to the model.

The agent still gets to use the credential. It just never gets to see it. Plans and tool calls carry the reference {{secret:NAME}}; the real value enters only at the moment of dispatch, outside the model’s context, and is scrubbed from anything that flows back.

  1. 01 / MECHANISM

    How a write-only secrets vault works

    You store a secret with a single write — a name, the value, an optional description — and the vault encrypts it on arrival. Reading it back is not a permission anyone can grant: the API has no path that returns plaintext. The list shows the name, the description and the last four characters, nothing more.

    That asymmetry is the security model. Rotation is a replace; removal is a delete; verification is the last four. Because no read path exists, a compromised session, an over-curious prompt or a misbehaving model cannot exfiltrate what the interface cannot express.

    • Writing is the only way in; no API path returns plaintext
    • The list shows name, description and last four characters only
    • Replace to rotate; delete to remove
  2. 02 / MECHANISM

    {{secret:NAME}}: the model plans with references, not values

    Inside the agent’s context a credential is only ever the placeholder {{secret:NAME}}. The model is told which secrets exist — names and descriptions — and drafts tool calls around the reference. A prompt-injection attempt cannot leak what was never in the context window.

    You can see this on any pending proposal: the arguments show the placeholder, unexpanded, and that is the form the proposal is stored in. What you approve is the call with the reference; what dispatches is the call with the value.

  3. 03 / MECHANISM

    Substituted at dispatch, scrubbed on return

    Plaintext substitution happens at one point: dispatch, in the runtime, after any approval. Built-in tools that keep their arguments as records — goals, plans, notes, dashboards, workspace management — never receive a value at all, so a credential cannot become durable text by accident.

    On the way back, tool results are scrubbed of the value before they re-enter the conversation, so a service that echoes your key in a response or an error does not hand it to the model.

  4. 04 / MECHANISM

    A key pasted into the chat is vaulted first

    People paste keys into chat boxes. When one is a recognisable credential — a Stripe, OpenAI, Anthropic, GitHub, Slack, Google, Resend or similar key, or a private-key block — it is sealed in the vault and replaced in the message by its placeholder before the message is stored, searched, titled or remembered.

    Detection is by the vendors’ own prefixes, never by guessing at random-looking strings, because a false positive would rewrite what somebody said. And it never rotates: if the name is taken, the new key gets a suffix instead of replacing the live one.

    • Sealed before the first read of the message, so no copy survives
    • The chat shows the placeholder in place of the key
    • The designed path is still the secure form Pea opens in the chat
  5. 05 / MECHANISM

    Per workspace, per project, per API

    A secret belongs to the whole workspace or to one project. A project can hold its own value under a name the workspace also uses; its turns use the project’s, and every other project keeps the workspace’s. Each ciphertext is bound to its workspace, name and project, so it cannot be replayed anywhere else.

    Tool libraries you build from an API’s docs authenticate by vault name: the library stores the name, the value is fetched at call time and scrubbed from the response, and requests can only reach the library’s own https origin. Keys for monopea’s own products are checked against their server, then sealed the same way.

  6. 06 / MECHANISM

    Signed records, not just stored ones

    Secrets are not the only thing the platform keeps tamper-evident. Every library file carries a provenance chain — where it came from and a sha-256 of each version — signed by the server, and a document Pea writes prints that signature’s fingerprint under each source, so it can be re-verified later.

    Audit-chain checkpoints are signed with Ed25519. The vault, the files and the log all follow the same rule: what matters is what can be checked, not what is asserted.

Why it matters

What it changes in practice.

01

The model never sees the value

Credentials exist in the model’s world only as {{secret:NAME}} references. There is nothing in context to leak.

02

No read-back, by construction

The list shows name, description and last four. Exfiltration would need a path that does not exist.

03

Scrubbed on the way back

Tool results are cleaned of the value before they re-enter the agent’s context.

04

Pasted keys don’t linger

A recognised key typed into the chat is sealed and replaced before anything reads it.

FAQ

Secrets vault, in short.

Can the AI read my secrets?
No. The model only ever sees the {{secret:NAME}} placeholder. The value is substituted into the tool call at dispatch, in the runtime, outside the model’s context — and tool results are scrubbed of it before they return.
Can I read a secret back after storing it?
No — the vault is write-only for everyone, including you. The list shows the name, description and last four characters so you can tell which key is stored. To change a value, replace it; to remove it, delete it.
What if I paste a key into the chat?
If it is a recognised vendor key or a private-key block, it is sealed in the vault and the message is rewritten with its placeholder before it is stored or read by anything else. The safer path is the secure form Pea opens in the chat, which posts straight to the vault.
What if a tool echoes the secret back?
Responses are scrubbed before they re-enter the agent’s context. An API that reflects your credential in its output does not put it in front of the model.
How are secrets stored?
Encrypted on arrival with envelope encryption, each value bound to its workspace, name and project so a ciphertext cannot be replayed into another context. They live in the same database as the rest of your workspace.

Start with everything gated. Open it up as you go.

Open a workspace, give the agent a task, and approve what it proposes. Available worldwide.