Vault
Prismor Vault holds API keys so agents can use them without reading them. Agents write @@SECRET:STRIPE_API_KEY@@ in commands. Prismor swaps in real values as those commands run, then scrubs them out of output before models read it.
It comes in two forms, and both use this same placeholder.
| Local vault (open source) | Org vault (enterprise) | |
|---|---|---|
| Secrets live | On one machine | In Prismor console, with copies on picked devices |
| Managed from | prismor dashboard or CLI | Secrets & PII in console |
| Added by | Whoever uses this machine | Org owners and admins |
| Access control | Per agent | Per person, device or agent key |
| Rotation | Replace value on each machine | Rotate once, devices pick it up |
| Console account | Not needed | Needed, plus enrolled devices |
Teams often run both. Personal keys stay local while shared ones come from console.
Local vault
Part of open source prismor CLI. It works offline and needs no account.
Set it up
prismor cloak install # swap placeholders in, scrub values out
prismor install-hooks --agent claude --mode enforce # block agents from reading vault files
prismor dashboard # open Vault tab
Run both of those first two commands. Cloaking keeps values out of model context. Enforce mode stops agents from opening vault files directly.
Vault tab needs prismor 1.80.4 or later.
Add keys

Type name and value, pick which agents get it, then press Add key. Names take letters, digits, _ and -, up to 64 characters.
Values are write-only. Dashboard lists names and access, and it does not send stored values back to browsers. Copy puts placeholder on clipboard, ready to paste into any prompt.
Terminals work too:
prismor cloak add stripe_key # reads value from stdin, never from arguments
prismor cloak add --env-file .env # one placeholder per KEY=VALUE line
prismor cloak add openai --from-ref op://Engineering/OpenAI/credential
prismor cloak list # names only
prismor cloak remove stripe_key
--from-ref fetches from 1Password, HashiCorp Vault, OpenBao, Infisical, AWS Secrets Manager, Okta Privileged Access or AWS AgentCore Identity. Cloak and Sweep and Cloak cover pasted keys, custom patterns and scrubbing in detail.
Choose which agents may use each key

New keys are open to all agents. To narrow one, open its picker and tick agents on this list. Changes save as you tick.
- All agents is where each key starts
- Picked agents only: other callers get refused, along with their whole command
- No agents parks one key without deleting it
Prismor knows Claude Code, Codex, Cursor and Gemini CLI by their environment markers (claude, codex, cursor, gemini). For other agents, or to tell two copies of one agent apart, set PRISMOR_AGENT_ID and add this same name in picker. Callers Prismor can't identify get no restricted keys.
Both decloak hook and prismor cloak run check this list. It applies to this machine only.
One limit to know about. Agent identity comes from environment variables, so agents able to rewrite their own environment could pose as other agents. For keys where this matters, bind them to hosts too.
Bind keys to hosts
Scrubbing catches values printed plain, or in base64, hex, URL-encoded and reversed forms. Custom encodings can slip past it. Host binding closes this gap for keys sent over HTTP:
prismor cloak add STRIPE_API_KEY --host api.stripe.com
prismor cloak hosts STRIPE_API_KEY api.stripe.com '*.stripe.com'
prismor cloak hosts STRIPE_API_KEY --any # remove binding
Bound keys resolve only into curl, wget, http or xh calls whose URLs all point at listed hosts. Prismor refuses echo, pipes, file redirects and env vars before it reads any value. Changing bindings takes one real terminal, and agents are blocked from doing it.
Scripts and SDK apps need values in env vars, so leave those keys unbound.
Where values sit
Local values are plain files under ~/.prismor/secrets/, readable only by user accounts which own them. Local vault does not encrypt them at rest. File permissions and enforce mode protect them, so keep this folder out of Git, backups and cloud sync.
Dashboard listens on loopback by default, and policy blocks agents from calling its vault API or editing access lists.
prismor sweep has its own separate, encrypted store for originals it redacts from tool caches. Sweep explains it.
Org vault
Enterprise teams add each secret once in console. Prismor seals one copy to each device's own key and delivers it to whichever people and machines admins picked. Agents on those machines use @@SECRET:NAME@@ with no pasting around in chat.
Org vault needs Prismor console org, owner or admin role, and at least one enrolled device on current prismor release.

Add secrets
Open Secrets & PII and click Add secret on Org vault card.

| Field | Meaning |
|---|---|
| Name | What agents type, as @@SECRET:NAME@@. Names starting auto_ are reserved |
| Value | Up to 16 KB. Stored encrypted and not shown again, to admins included |
| Note | Optional reminder of its purpose |
| Who gets it | Every device in org, or picked people, devices and agent keys. Picking one person covers all their enrolled machines |
| Only send it to | Optional host list, up to 20, such as api.stripe.com or *.stripe.com. Same rules as host binding |
Delivery to devices
Devices check console about every 30 seconds while agents are working. To pull right away:
prismor cloak sync
prismor cloak list # org secrets read "from org vault, v1"
Click any Delivered count to see which machines are behind.

| State | Meaning | Fix |
|---|---|---|
| Waiting | Gets it on its next check | Bring this device online |
| Not checked in | Device has not asked for org secrets yet | If it stays, update prismor on it |
| Conflict | Device holds its own local secret under this name and kept it | Rename one of them |
Used counts how often agents reached for each secret. Click one number to filter analytics below it.
Rotate, change access, delete
- Rotate saves new value as next version. Placeholders stay unchanged, so commands need no edit
- Access changes who gets it. Devices dropped from list delete their copy on next check
- Delete removes it from org and from each device on next check
Offline devices keep their copy until they reconnect, and processes which read some value keep it in memory. When one key must stop working, rotate it at its provider too.
Running prismor cloak remove on org secrets only lasts until next sync. Take access away in console instead.
How org secrets are protected
- Console encrypts each value at rest with AES-256-GCM
- Each device makes its own X25519 key pair on first sync, and its private half stays there
- Console seals every secret to each device separately, bound to this device, secret name and version, so copied or older blobs fail to open
- Devices verify console's signature on each list before storing anything
- Creates, rotations, access changes, host changes and deletes land in audit log, without values
Two boundaries matter for security reviews. Console can decrypt values, since it has to seal them for each new device, so this is not end-to-end encryption between admins and devices. And once delivered, org secrets sit in local vault just like local ones, with this same file level protection.
Troubleshooting
| Symptom | Fix |
|---|---|
secret 'X' is not shared with ... | Add this agent in Vault tab's picker, or set its PRISMOR_AGENT_ID |
... is bound to its hosts | Call one listed host with curl, wget, http or xh, or change hosts |
| Placeholder reaches command unchanged | Check name in prismor cloak list, and run prismor cloak install |
| Vault tab is missing | Update to prismor 1.80.4 or later, then restart dashboard |
| Org secret never arrives | Confirm enrollment, update prismor, run prismor cloak sync |
Next
- Cloak: how placeholders get swapped and scrubbed
- Secret Leak Guards: stop
.envfiles leaving through pipes, builds and uploads - Share secrets from console: same Org vault flow on video