specs/vault/get/v0_2/payload library

Classes

AttachmentRef
AttachmentRef
Payload
Fetch the metadata view of a single vault entry by id. Returns the same VaultEntry shape vault/list does, but for one specific entry. Secret material is NEVER returned by this task; use vault/release/0.1 to obtain secret bytes.
Response
Vault Get — response payload
VaultEntry
VaultEntry

Extension Types

SecretKind
Discriminator for the secret type stored in the entry. Definitions: - password — username + password (+ optional TOTP seed). - passkey — WebAuthn discoverable credential (private key + rpId + userHandle). - oauthTokens — OAuth 2.0 refresh + access token bundle for a specific provider. - didSelfIssued — Self-Issued OpenID Provider v2 (SIOP) credential: the entry points at a DID + signing key already managed by the VTA. - didcommPeer — DIDComm peer identity used to authenticate against a DIDComm-speaking relying party. - bearerToken — opaque bearer token carried in a maintainer-named header (covers API tokens, long-lived JWTs, personal-access tokens). - sshKey — SSH private key + comment. - custom — arbitrary structured fields; release-time consumer responsible for interpretation.

Constants

payloadSchemaJson → const String
This specification's payload schema, as JSON text.
responsePayloadSchemaJson → const String
As payloadSchemaJson, for the success-response variant.
responseSpec → const SpecPolicy
The SPEC §7.2 policy for the success-response variant.
responseTypeUri → const String
The success-response form of typeUri (SPEC §4.4.1).
spec → const SpecPolicy
The SPEC §7.2 policy for the request variant, taken from this specification's front matter.
typeUri → const String
The Trust Task type URI this library's Payload is carried under.

Typedefs

Ext = Map<String, dynamic>
Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.
SiteTarget = Object?
A single binding target for a vault entry. Tagged union over the discriminator kind. A VaultEntry's targets array MAY mix any number of these.