Skip to main content

Module vaults

Module vaults 

Source
Expand description

Several Vaults on one computer: the person keeps some entries to one set of agents and others to another, or to none (docs/specs/SPEC_VAULT_SHARED_ACROSS_MACHINES_LAN_AND_CLOUD_2026_11_01.md §5).

Every entry belongs to exactly one Vault. Entry ids stay global, so every route that names an entry by id works as before; a Vault only narrows which agents may ask for an entry, and an agent that may not is told the entry doesn’t exist.

Structs§

VaultInfo
A Vault as the pane shows it.

Enums§

VaultAgents
Which agents may use a Vault’s entries.

Functions§

agents_of
create
Adds a Vault with a name and who may use it.
default_for
The Vault a new entry made by agent goes to when it names none: the first Vault, in the person’s order, the agent may use.
entry_row_usable
entry_usable for a Vault id.
entry_usable
Whether agent may use the entry entry_id. An entry in a Vault that is gone counts as Personal’s.
list
Every Vault, with how many entries it holds.
may_use
Whether agent may use the entries of the Vault row. An agent that isn’t proven (None) is let into a Vault open to all agents only.
move_entry
Puts an entry in another Vault, keeping its id, versions and grants. Only the person does this: a move can open a value to more agents.
remove
Removes an empty Vault. Personal stays.
resolve
A Vault by name or id. agent limits it to the Vaults that agent may use; an agent told “no such Vault” can’t tell a Vault it may not use from one that isn’t there.
set_signin_vault
Sets the Vault browser profile profile saves its sign-ins to and offers them from. The sign-ins it already has stay in the Vault they are in: move them, or they are not offered.
signin_vaults
Each browser profile’s sign-in Vault (personal or profile:<id>) other than Personal.
update
Renames a Vault and sets who may use it.