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

    Interface AuthInfo

    Result of a login or token creation. The token is redacted in every string form.

    interface AuthInfo {
        accessor?: Secret;
        clientToken: Secret;
        entityId: string;
        leaseDurationMs: number;
        metadata: Record<string, string>;
        numUses: number;
        orphan: boolean;
        policies: string[];
        renewable: boolean;
        tokenPolicies: string[];
        tokenType: string;
    }
    Index
    accessor?: Secret

    Token accessor (redacted: it can revoke the token).

    clientToken: Secret

    The client token.

    entityId: string

    Identity entity id.

    leaseDurationMs: number

    Token TTL in ms (0 = no expiry).

    metadata: Record<string, string>

    Auth metadata (e.g. role_name, username).

    numUses: number

    Remaining uses (0 = unlimited).

    orphan: boolean

    Whether the token has no parent.

    policies: string[]

    All policies of the token.

    renewable: boolean

    Whether the token can be renewed.

    tokenPolicies: string[]

    Policies attached to the token itself.

    tokenType: string

    service or batch.