The vault
Your own OpenBao vault in aimo: signing in, the Vault view, tool-server variables, and vault variables for a workspace's commands and terminals.
For aimo 1.4.8 · checked against that release on 22 November 2026
Where your installation keeps people’s keys in OpenBao, aimo works with your own vault there. It hands values to your tools, terminals and commands, and never puts one in a chat, a log, a view or a stored conversation. The model can use a secret without ever seeing it.
Sign in to the vault
Run AIMO Vault: Sign in to the Vault. Your browser opens at your organisation’s identity
provider and comes back to aimo on http://localhost:8250 — the same sign-in OpenBao’s own
command-line tool performs. The session lasts eight hours and renews itself for up to a day.
- The vault’s address is derived from the gateway’s: its first host label replaced by
bao. If yours is elsewhere, run AIMO Vault: Set the Vault Address or setaimo.vault.address. - In a remote window (SSH, a container), the browser cannot reach the remote side’s port 8250: forward that port to your machine, or sign in from a local window.
- AIMO Vault: Show Vault Status (or
/vault) shows whether you are signed in, and as whom. - AIMO: Sign out signs you out of the vault too; AIMO Vault: Sign out of the Vault only of the vault.
The Vault view
The Vault view shows your personal vault and the vaults of the teams you belong to — names
only. A value leaves the vault in exactly three ways: Copy Value (the clipboard clears itself
after aimo.vault.clipboardClearSeconds, 30 seconds by default), a terminal’s environment, or a
tool call.
On a folder or a secret:
| Action | What it does |
|---|---|
| New Secret | Create a secret, optionally inside a folder (apps/web/prod) |
| Add a Key, Set Value | Add a key, or change a value — typed into a password box |
| Copy Value | Copy one value, for a short while |
| Remove | Remove one key; removing the last key deletes the secret with its history |
| Delete Secret | Delete a secret and every version of it, after you confirm |
| Open a Terminal with These Values | A terminal whose environment holds that secret’s keys |
| Open in OpenBao | The secret in OpenBao’s own web interface |
The vault, its web page on the platform and the OpenBao command line edit the same folders, so a change made in one shows in the others.
Tool-server variables
Some tool servers act as you on another service and need something of yours — an API key, a token. When one does, the tool answers that your variables are missing, and aimo offers Set my … variables. You can also set them at any time with AIMO Vault: Set My Variables for a Tool Server, or from Tool Servers.
The value is written to your own vault folder for that server. The gateway reads it on every call you make to that server and sends it with that call only.
Vault variables for a workspace
Map the environment variables a project needs to places in the vault. The mapping holds references, not values, so it can be committed with the project, and every developer gets their own value:
{
"aimo.vault.env": {
"GITHUB_TOKEN": "mcp/github#GITHUB_API_KEY",
"SONAR_TOKEN": "me/sonar#token",
"DB_PASSWORD": "team/network-ops/db#password"
}
}
| Reference | Where it points |
|---|---|
me/<path>#<key> |
Your personal vault |
mcp/<server>#<VARIABLE> |
Your variable for a tool server |
team/<team>/<path>#<key> |
A team vault you belong to |
- AIMO Vault: Edit the Workspace’s Vault Variables opens the mapping.
- AIMO Vault: Open a Terminal with the Workspace’s Vault Variables starts a terminal that has them. Nothing is written to disk.
- Commands the agent runs receive them too (
aimo.vault.injectIntoAgentCommands). The model is told their names; a value a command prints exactly as it is reaches the model as[vault:NAME]. - Such a command is asked about every time, even after Allow all. With
aimo.autoApproveToolson, or in Auto-edit, commands receive no vault values: a value is handed only to a command somebody looked at.
A mapping arrives with a repository, so aimo asks you once before it uses one, and again whenever it changes. Some values are never handed out:
- In Restricted Mode, and in a folder outside Workspace Trust, none.
- A value shorter than six characters, which could not be told apart from ordinary text and so could not be masked.
- Variables that change how a process loads, installs or trusts code, in any letter case,
among them
PATH,LD_PRELOAD,NODE_OPTIONS, proxy and certificate variables,npm_config_*, theNPM_,YARN_,PNPM_,COREPACK_,BUN_,PUPPETEER_,PLAYWRIGHT_,NODE_andXDG_prefixes,CHROME_PATHandTMPDIR. SoNPM_TOKENneeds another name. An entry like that is ignored, and AIMO: Show Log says why.
The knowledge base shows the same vault from the browser side: your keys in OpenBao and your own GitHub key.
In direct mode the vault is not used.