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

    Interface UnwrapResult<T>

    Result of unwrap(): the original response.

    interface UnwrapResult<T = Record<string, unknown>> {
        auth?: AuthInfo;
        data: T | null;
        leaseDurationMs: number;
        leaseId: string;
        renewable: boolean;
        warnings: string[];
    }

    Type Parameters

    • T = Record<string, unknown>
    Index
    auth?: AuthInfo

    The auth block when a login response was wrapped.

    data: T | null

    The wrapped data (null for wrapped responses without data, e.g. logins).

    leaseDurationMs: number

    Lease TTL in ms.

    leaseId: string

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

    renewable: boolean

    Whether it can be renewed.

    warnings: string[]

    Server warnings.