Interface SecretView

The metadata-only projection of a stored secret (SECRETS_SPEC §2/§4) — exactly what secrets:list and the powerbox return. There is no value field by design: the plaintext is never part of any record an app receives.

interface SecretView {
    boundOrigin?: string;
    description: string;
    family?: string;
    id: string;
    lastUsedAt: null | string;
    type: SecretType;
}

Properties

boundOrigin?: string

Required for type:'api-key' — the one https origin it may be sent to.

description: string
family?: string
id: string
lastUsedAt: null | string

ISO-8601, or null if never used (drives the §8.15 90-day expiry).