Workers connect to the proxy on its gRPC port (defaultDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/temporal-sa/temporal-cloud-proxy/llms.txt
Use this file to discover all available pages before exploring further.
7233) using a standard Temporal SDK client configured with a plain (non-TLS) gRPC connection. The proxy terminates the connection from the worker and establishes its own TLS connection to Temporal Cloud, so workers do not need certificates. Two gRPC metadata headers control routing and authentication on every request.
Required gRPC Headers
Identifies which workload configuration the proxy should route the request to. Must match a
workload_id value defined in the proxy’s YAML config. The proxy returns codes.InvalidArgument if the header is absent, has more than one value, or does not match any configured workload.A Bearer token used to authenticate the worker with the proxy. Format:
Bearer <token>. Required when the matched workload has an authentication block configured (JWT or SPIFFE). The proxy returns codes.InvalidArgument if the header is missing when authentication is configured, or codes.Unauthenticated if the token is invalid.Connection Details
| Setting | Value |
|---|---|
| Proxy address | <proxy-host>:<proxy-port> (default port: 7233) |
| TLS | Not required from the worker — the proxy handles TLS toward Temporal Cloud |
| Temporal namespace | Must match the namespace configured for the workload in the proxy config |
Go SDK Example
The Temporal Go SDK supports injecting custom gRPC interceptors viaclient.ConnectionOptions. Use a unary client interceptor to append the workload-id and authorization metadata headers to every outgoing call:
HostPort points at the proxy rather than <namespace>.<account>.tmprl.cloud:7233. The Namespace field should still be set to the real Temporal Cloud namespace so the SDK includes it in requests.
Namespace Configuration
Set the SDKNamespace field to match the namespace value in the proxy’s workload config (e.g. my-namespace.my-account). When API key authentication is in use, the proxy intercepts and overrides the temporal-namespace gRPC header before forwarding the request to Temporal Cloud, ensuring the correct namespace is always sent regardless of what the worker specifies.
For mTLS workloads, the namespace value from the incoming metadata is forwarded as-is, so it must match the namespace associated with your mTLS certificate.
Example Worker Repositories
The following repositories demonstrate complete worker implementations that connect through Temporal Cloud Proxy:SPIFFE Worker Example
Uses SPIFFE/SPIRE JWT-SVIDs for proxy authentication. Shows how to obtain a JWT-SVID from the SPIRE agent and pass it as the
authorization header.JWT Worker Example
Uses JWT tokens for proxy authentication. Shows how to acquire a token from an OIDC provider and inject it via a gRPC interceptor.