Register
Register allows an agent to register itself with the tunnel server. The agent sends its cluster identity and tunnel port; the server responds with its fingerprint so the agent can verify the tunnel connection.
Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ”Define the version of the Connect protocol
Define the timeout, in ms
Request Body required
Section titled “Request Body required ”RegisterRequest contains the agent’s cluster identity and a CSR for mTLS certificate issuance.
object
The cluster identifier this agent belongs to.
PEM-encoded PKCS#10 certificate signing request. The server signs this with its internal CA and returns the issued certificate.
The agent identifier this agent uses to register with the server.
The version of the agent binary (e.g. “v1.2.3”), set at build time.
Responses
Section titled “ Responses ”Success
RegisterResponse contains a CA-signed certificate and the CA certificate so the agent can establish an mTLS tunnel connection.
object
The loopback endpoint reserved for this cluster tunnel.
PEM-encoded X.509 certificate signed by the server’s CA.
PEM-encoded CA certificate for verifying the tunnel server.
The version of the server binary (e.g. “v1.2.3”), set at build time. Agents compare this against their own version to decide whether a self-update is needed.
default
Section titled “default ”Error
Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation
object
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
A list of messages that carry the error details. There is no limit on the number of messages.
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message, with an additional debug field for ConnectRPC error details.
object
A URL that acts as a globally unique identifier for the type of the serialized message. For example: type.googleapis.com/google.rpc.ErrorInfo. This is used to determine the schema of the data in the value field and is the discriminator for the debug field.
The Protobuf message, serialized as bytes and base64-encoded. The specific message type is identified by the type field.
Detailed error information.