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

    Interface RoleConfig

    Options of createRole().

    interface RoleConfig {
        creationStatements: string[];
        dbName: string;
        defaultTtlMs?: number;
        maxTtlMs?: number;
        renewStatements?: string[];
        revocationStatements?: string[];
        rollbackStatements?: string[];
        signal?: AbortSignal;
    }

    Hierarchy (View Summary)

    Index
    creationStatements: string[]

    SQL run to create the user ({{name}}, {{password}}, {{expiration}}).

    dbName: string

    Connection name.

    defaultTtlMs?: number

    Default lease TTL in ms.

    maxTtlMs?: number

    Maximum lease TTL in ms.

    renewStatements?: string[]

    SQL statements run on renewal.

    revocationStatements?: string[]

    SQL statements run on revocation.

    rollbackStatements?: string[]

    SQL statements run when creation fails.

    signal?: AbortSignal

    Cancels the call (CancelledError).