@grow-codes/hashicorp-vault - v0.1.1
    Preparing search index...

    Interface CreateTokenOptions

    Options of createToken().

    interface CreateTokenOptions {
        displayName?: string;
        explicitMaxTtlMs?: number;
        meta?: Record<string, string>;
        noDefaultPolicy?: boolean;
        noParent?: boolean;
        numUses?: number;
        periodMs?: number;
        policies?: string[];
        renewable?: boolean;
        role?: string;
        signal?: AbortSignal;
        ttlMs?: number;
    }

    Hierarchy (View Summary)

    Index
    displayName?: string

    Display name (token-<name>).

    explicitMaxTtlMs?: number

    Hard maximum TTL in ms.

    meta?: Record<string, string>

    Token metadata.

    noDefaultPolicy?: boolean

    Do not attach the default policy.

    noParent?: boolean

    Create an orphan token (needs root or sudo).

    numUses?: number

    Number of uses (0 = unlimited).

    periodMs?: number

    Periodic token period in ms.

    policies?: string[]

    Attached policies.

    renewable?: boolean

    Whether it can be renewed.

    role?: string

    Token role (auth/token/create/<role>).

    signal?: AbortSignal

    Cancels the call (CancelledError).

    ttlMs?: number

    TTL in ms.