@grow-codes/openbao - v0.1.2
    Preparing search index...

    Interface RawResponse<T>

    Result of OpenBaoClient.request: the decoded OpenBao envelope.

    interface RawResponse<T = Record<string, unknown>> {
        data: T | null;
        leaseDurationMs: number;
        leaseId: string;
        renewable: boolean;
        status: number;
        warnings: string[];
        wrapInfo?: WrapInfo;
    }

    Type Parameters

    • T = Record<string, unknown>
    Index
    data: T | null

    The response data (null when the response had none).

    leaseDurationMs: number

    Lease TTL in ms.

    leaseId: string

    Lease id (empty when the response has no lease).

    renewable: boolean

    Whether it can be renewed.

    status: number

    HTTP status (204 = no content).

    warnings: string[]

    Server warnings.

    wrapInfo?: WrapInfo

    Set when the response was wrapped (wrapTtlMs).