iya-sts
    Preparing search index...

    Variable bindAttestedSocket

    bindAttestedSocket: (
        server: any,
        socketPath: string,
        onConnection: (socket: any) => Promise<any>,
    ) => Promise<Record<string, any>> = ...

    Type Declaration

      • (
            server: any,
            socketPath: string,
            onConnection: (socket: any) => Promise<any>,
        ): Promise<Record<string, any>>
      • Binds a Workload API Unix socket whose connections are attested before grpc-js sees them, each tagged unix:attested-<n>.

        Parameters

        • server: any

          the gRPC server

        • socketPath: string

          the socket's path

        • onConnection: (socket: any) => Promise<any>

          resolves a connection's facts

        Returns Promise<Record<string, any>>

        the binding's row; a failure to bind is reported