Skip to main content

Module vault_inspect

Module vault_inspect 

Source
Expand description

POST /api/v1/vault/{show,update,verify,health}: what an agent can ask the Vault about an entry and about itself (docs/specs/SPEC_VAULT_PARITY_ENTRY_HISTORY_REASONS_AND_IMPORT_2026_11_06.md §8). Each answers ids, names, states and counts, for the Vaults the proven agent may use; none returns a value. update changes details only and needs the agent’s signed identity and a reason, as the record names who changed what. Nobody is asked, a change to where the entry’s machine copy is included: the history line is the record (docs/specs/SPEC_VAULT_AGENT_ADDS_AND_EDITS_WITHOUT_ASKING_2026_11_25.md).

Structs§

IdBody 🔒
ShareBody 🔒
UpdateBody 🔒

Constants§

ANSWER_WAIT_MAX 🔒
The longest the person has to answer a share.
SHARE_WAIT 🔒
How long the person has to answer an agent’s request to be given a login by default, and at most.

Functions§

answer 🔒
blocking, answering its result as JSON.
blocking 🔒
Runs read on the blocking pool; a refusal is a 404 (the entry isn’t one this agent may use, or isn’t there), a 400 or a 500.
error 🔒
handle_vault_health 🔒
POST /api/v1/vault/health
handle_vault_share 🔒
POST /api/v1/vault/share: an agent asks the person to share a login with its own browser profile, so that it can sign in to the login’s site with it (docs/specs/SPEC_VAULT_AGENTS_ENTER_CREDENTIALS_WHEREVER_ASKED_2026_11_16.md A2). Only the person’s yes makes the share, and only for the agent that proved who it is. The agent learns the login’s label and site, never its user name or its password.
handle_vault_show 🔒
POST /api/v1/vault/show
handle_vault_update 🔒
POST /api/v1/vault/update
handle_vault_verify 🔒
POST /api/v1/vault/verify
key 🔒
The Vault key as it reads now, or why it can’t be.
share_card 🔒
The question for the person: the login, its site and who asks to be able to sign in with it.
share_headline 🔒
The card’s headline, as the attention list shows it.
share_not_allowed 🔒
What the agent is told when the card didn’t end in a yes: silence is a no.
shared_answer 🔒
What the agent is told of a share the person made: for a sign-in the browser answers a prompt with, also that it is not typed by signin and what to do next.
who 🔒
The agent whose signed identity verified, else none (which sees only the Vaults open to every agent).

Type Aliases§

Auth 🔒