Each workload needs credentials to authenticate with Temporal Cloud. The proxy supports two authentication methods: mTLS (client certificate and private key) and API key. Both methods are configured underDocumentation 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.
temporal_cloud.authentication in the workload block. Only one method can be active per workload — the proxy rejects configurations that specify both.
mTLS authentication
The proxy loads a PEM-encoded client certificate and private key from local files, then presents them during the TLS handshake with Temporal Cloud. This is the authentication method used withtmprl.cloud:7233 endpoints.
Absolute or relative path to the PEM-encoded client certificate file. The file must be readable by the process running the proxy at startup — the certificate is loaded once during initialisation using
tls.LoadX509KeyPair.Absolute or relative path to the PEM-encoded private key file corresponding to the certificate. Must be readable by the proxy process at startup.
API key authentication
When an API key is configured, the proxy strips the incomingauthorization and temporal-namespace metadata headers and replaces them with its own on every outbound call:
authorization: Bearer <key>temporal-namespace: <namespace>
api.temporal.io:7233 endpoints.
The API key can be provided as a literal inline value or read from an environment variable at startup:
The literal API key string. If set, the key is read directly from the config file. Avoid using this in production — prefer
env to keep credentials out of config files that may be stored in version control.The name of an environment variable whose value is the API key. The proxy reads the variable once at startup when building the connection. If the variable is not set or is empty, the proxy returns an error:
no api key provided.Passthrough mode
If neithertls nor api_key is set under temporal_cloud.authentication, the proxy forwards calls without adding any authentication credentials. This is useful when the calling worker injects the API key directly into its gRPC metadata, so the proxy simply passes that header through unchanged.
Note that passthrough mode does not support mTLS — the TLS handshake with Temporal Cloud uses an empty certificate list, which is only compatible with API key–based endpoints (api.temporal.io:7233).