Restate Typescript SDK
    Preparing search index...

    TLS options for the outbound tunnel connection.

    The tunnel always offers ALPN h2 and requires TLS peers to negotiate it; omit these options to use the system trust store and SNI for the dialed host. There is no user-facing ALPN option because the tunnel protocol requires HTTP/2.

    interface TunnelTlsOptions {
        ca?:
            | string
            | Buffer<ArrayBufferLike>
            | (string | Buffer<ArrayBufferLike>)[];
        cert?: string | Buffer<ArrayBufferLike>;
        key?: string | Buffer<ArrayBufferLike>;
        rejectUnauthorized?: boolean;
        servername?: string;
    }
    Index

    Properties

    ca?: string | Buffer<ArrayBufferLike> | (string | Buffer<ArrayBufferLike>)[]

    CA certificate(s) (PEM) to trust. Omit to use the system trust store — the right choice for Restate Cloud's public endpoints.

    cert?: string | Buffer<ArrayBufferLike>

    Client certificate (PEM) for mutual TLS.

    key?: string | Buffer<ArrayBufferLike>

    Client key (PEM) for mutual TLS.

    rejectUnauthorized?: boolean

    Verify the server certificate. Default true.

    servername?: string

    SNI / certificate-verification name. Defaults to the hostname being dialed (for region/SRV discovery, the SRV target hostname).