Expand description
vault … operator/agent commands (online, via the trust-task dispatcher).
Thin wrappers over the VtaClient::vault_* methods plus the seal/open
helpers. Secret-bearing operations use didcomm-authcrypt sealed envelopes
and therefore require the DIDComm transport (the seal is produced with the
caller’s own keys):
upsertseals the cleartext secret to the VTA before sending.releaseopens the JWE the VTA seals back to the caller.
Capability gates (server-side): list/get → VaultRead, upsert/delete →
VaultWrite, release → FillRelease, proxy-login → ProxyLogin,
sign-trust-task → SignTrustTask.
Functions§
- cmd_
vault_ archive vault archive— soft-disable an entry (restorable withvault unarchive).- cmd_
vault_ delete vault delete— soft-delete (recoverable) by default;forcehard-deletes irreversibly. Optional optimistic-concurrency version check + audit reason.- cmd_
vault_ get vault get— a single entry’s metadata by id.- cmd_
vault_ list vault list— metadata only (no secrets).filtersis the wire filter object (None→ all entries).statusselects the lifecycle view (activedefault /archived/deleted/all) and is merged into the filter object.- cmd_
vault_ proxy_ login vault proxy-login— mint a session as the entry’s principal.payloadis the full wire request (entry id + login parameters).- cmd_
vault_ purge vault purge— irreversibly hard-delete an entry, skipping any grace window.- cmd_
vault_ release vault release— release a secret sealed to the caller. Fetches the sealed envelope, opens it locally, and prints the cleartextVaultSecret.targetis the optional site target the release is scoped to.- cmd_
vault_ restore vault restore— undelete a soft-deleted entry (only within the grace window).- cmd_
vault_ sign_ trust_ task vault sign-trust-task— sign a Trust Task envelope as the entry’s principal DID.payloadis the full wire request (entry id + envelope).- cmd_
vault_ unarchive vault unarchive— return an archived entry to active.- cmd_
vault_ upsert vault upsert— create/update an entry.entryis the entry-fields payload (contextId,targets,label,secretKind, …);secret, when present, is the cleartextVaultSecretJSON, sealed here to the VTA before sending.