JavaScript HSM API Dinamo
    Preparing search index...

    HsmClientConfig Interface

    interface HsmClientConfig {
        host?: string;
        port?: number;
        enableTrace?: boolean;
        authUsernamePassword?: AuthUsernamePassword;
        authToken?: string;
        tls?: TlsOptions;
        sessionPool: SessionPoolConfig;
        controlChannelPath: string;
    }
    Index
    host?: string
    port?: number
    enableTrace?: boolean
    authUsernamePassword?: AuthUsernamePassword
    authToken?: string
    sessionPool: SessionPoolConfig
    controlChannelPath: string

    Unix (POSIX) socket path / Windows named pipe path for the hot reload control channel (ADR-0016). Automatically resolved by the process; customizable via HSM_SESSION_POOL_CONTROL_PATH.

    Reloading via this channel never interrupts existing pools, sessions, or handles (ADR-0017)—it affects only (a) future identity resolutions via environment variable fallback (never an explicit identity passed in HsmOptions), and (b) the sizing of pools that have not yet been created. A pool that is already running continues to operate under the configuration it was created with until it is drained or recycled naturally; to apply new sizing to an existing pool, explicitly call shutdownSessionPool() and let the next call to connectPooled() recreate it with the current configuration.