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 liveOn one machineIn Prismor console, with copies on picked devices
Managed fromprismor dashboard or CLISecrets & PII in console
Added byWhoever uses this machineOrg owners and admins
Access controlPer agentPer person, device or agent key
RotationReplace value on each machineRotate once, devices pick it up
Console accountNot neededNeeded, 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

Local dashboard Vault tab with three demo keys. Each row shows its name, which agents may use it, when it changed, and Copy and Remove actions

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

Agent picker open on GITHUB_TOKEN. Claude and Codex are ticked, Cursor and Gemini are not, and each shows when it was last seen

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.

Org vault card listing two demo secrets with who gets each, bound host, version, delivery count, uses in last 30 days, and Rotate, Access and Delete actions

Add secrets

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

Add secret form: name SENDGRID_API_KEY, masked value, Only the ones I pick with one agent key ticked, and api.sendgrid.com under Only send it to

FieldMeaning
NameWhat agents type, as @@SECRET:NAME@@. Names starting auto_ are reserved
ValueUp to 16 KB. Stored encrypted and not shown again, to admins included
NoteOptional reminder of its purpose
Who gets itEvery device in org, or picked people, devices and agent keys. Picking one person covers all their enrolled machines
Only send it toOptional 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.

Delivery detail under STRIPE_API_KEY: one device Waiting, another in Conflict, each with its reason and last seen time

StateMeaningFix
WaitingGets it on its next checkBring this device online
Not checked inDevice has not asked for org secrets yetIf it stays, update prismor on it
ConflictDevice holds its own local secret under this name and kept itRename 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

SymptomFix
secret 'X' is not shared with ...Add this agent in Vault tab's picker, or set its PRISMOR_AGENT_ID
... is bound to its hostsCall one listed host with curl, wget, http or xh, or change hosts
Placeholder reaches command unchangedCheck name in prismor cloak list, and run prismor cloak install
Vault tab is missingUpdate to prismor 1.80.4 or later, then restart dashboard
Org secret never arrivesConfirm enrollment, update prismor, run prismor cloak sync

Next