What the Temporal Proxy does and when teams need it
Several worker fleets and applications often need to reach Temporal, some against a self-hosted Temporal Service and some against Temporal Cloud, and each may follow different TLS, namespace and credential rules. The Temporal Proxy gives them one local endpoint that handles namespace translation, TLS, credentials and payload encryption toward the upstream service, so application code and workers do not each carry those settings. The intended role is as a routing and security layer between clients and workers on one side and the Temporal service on the other.
Treat the proxy's exact feature set and current status as things to confirm, not assume. Check the Temporal documentation for the version you plan to run, including which upstream targets, namespace mappings, TLS modes and credential handling are supported and whether any of them are marked as experimental. Also confirm how the proxy is licensed and released, since it is a separate component from the server. Ask the team that owns the Temporal Service to confirm which proxy release it will support before the design is fixed.
The proxy does not replace server-side authorization. If a self-hosted Temporal Service has no Authorizer configured, it falls back to the default noopAuthorizer, which allows every API request, so the proxy in front of it does not make that service safe on its own. The proxy also does not replace the codec server used for payload encryption and decryption in the Web UI and tooling. Plan authorization, ClaimMapper settings, network exposure and codec design as separate decisions, and use the proxy only as one control among them. Teams that need a clear view of these controls should review the Temporal self-hosted security documentation alongside the proxy docs.
How workers, the proxy and the Temporal frontend fit together
The diagram starts with application workers and clients inside the internal network. They send requests to one local endpoint on the Temporal Proxy, which stays inside the same boundary. From the proxy, traffic can go to a self-hosted Temporal frontend on the internal network or cross the trust boundary to Temporal Cloud. TLS is terminated and re-originated, credentials are attached and payloads are encrypted on the hops that leave the proxy. Check that Temporal Cloud is reachable only through the proxy and that the proxy is the only component holding those credentials.
The proxy sits between internal clients and both possible Temporal targets.
Connection options and when each fits
This table compares three ways workers and clients can reach Temporal: directly to a self-hosted frontend over mTLS, through the Temporal Proxy to self-hosted Temporal, and through the proxy to Temporal Cloud. Read each row as a decision about who owns namespace and credential handling, and what a later change of target would touch.
| Option | Application configures | Where namespace and credentials sit | What changes when the target moves |
|---|---|---|---|
| Direct to self-hosted frontend with mTLS | Frontend address, namespace name, client certificate and key, and CA trust for each worker and client | In each application's config and in the server's ClaimMapper and Authorizer settings | Every worker and client needs new address and certificate settings, so moves are coordinated across all callers |
| Proxy to self-hosted Temporal | One local endpoint and the namespace name the proxy expects | Namespace translation, TLS and credentials held by the proxy, with the server enforcing its own authorization | Proxy target settings change in one place, while application code and worker config stay the same |
| Proxy to Temporal Cloud | One local endpoint and the Cloud namespace name, with no direct Cloud address in application code | Cloud credentials and TLS toward Temporal Cloud held by the proxy, under your secret management | Repointing the proxy changes the destination, but namespace names and workflow history may not carry over, so confirm migration steps first |
| Who operates the proxy | Nothing beyond the local endpoint | Your platform team runs and patches the proxy alongside workers | Proxy version upgrades must be tested against both targets you plan to use |
| Payload encryption placement | Codec settings remain in the SDK or codec server, not in the proxy | Confirm with the proxy documentation whether it touches payloads or only transport | A target switch does not remove the need to keep codec keys available to every reader |
| Credential rotation | Applications usually keep only the local endpoint credential | Rotation happens at the proxy or in the direct client certificates, depending on the option | Confirm rotation without restarting workers, and whether the proxy reloads certificates |
| Observability and audit | Application logs show local endpoint errors, which can hide upstream causes | Audit of namespace access sits with the target, so check what the proxy logs | Confirm that trace and metric labels still identify the true target after a move |
| Choosing a route | Pick direct when you have few callers and a single self-hosted cluster | Pick proxy when many workers need one endpoint, or when Cloud is a possible future target | Confirm the supported settings for your proxy version before committing either route |
How the proxy's role changes between self-hosted and Temporal Cloud
When the target is a self-hosted Temporal Service, the proxy sits in front of your own frontend and the server keeps enforcing its own access controls. The proxy holds the client certificate and key used for mTLS toward the frontend and must trust the certificate authority that signed the frontend certificate. The server still decides who may act: a ClaimMapper turns credential claims into namespace roles, and an Authorizer decides each request. Review the self-hosted security documentation before settling the proxy design.
- Client certificate and trust store: The proxy presents a certificate for frontend mTLS and validates the server chain. Keep these files out of worker images and confirm which frontend and internode settings apply to them.
- Authorizer default: If no Authorizer is configured, the server uses the default noopAuthorizer, which allows every API request. The proxy adds no access control on its own, so confirm an Authorizer is set before any worker connects.
- ClaimMapper input: The claims the proxy forwards must be ones the ClaimMapper understands. Mismatched claims map to no roles, so test each namespace with a worker identity.
- Payload encryption: Custom codecs and the codec server operate on payloads. Decide whether encryption happens in the proxy path or in the SDK data converter, and name the key owners.
- Network exposure: Temporal services should run on hosts not reachable from the public internet. The proxy belongs on the same trusted network and should not be published as a public listener.
Check that a request sent through the proxy with a deliberately wrong namespace role fails on the server side, not only in the proxy.
With Temporal Cloud, Temporal Technologies operates the service, so the proxy's job shifts to presenting the credentials Cloud expects and translating local namespace names to the Cloud namespaces your workers use. The proxy holds the credential issued for your Cloud account, and it should not hold self-hosted server material such as the internode certificates of a cluster you run. Identity for people and namespace permissions are managed in Cloud. Review Temporal Cloud pricing and plan features to confirm which sign-in and provisioning options your plan includes.
- Cloud credentials: The proxy holds the credential issued for each Cloud namespace and must be rotated under your own process. Confirm the credential type your account uses and its rotation options with Temporal.
- Namespace translation: Local names map to Cloud namespace names. Ask Temporal for the exact naming format, then verify the mapping separately for each environment, because a mistake sends work to the wrong namespace.
- SAML SSO and access: The pay-as-you-go pricing page lists SAML SSO. People sign in through your identity provider, and namespace access is granted in Cloud, not in the proxy.
- SCIM and support tier: The pricing page lists SCIM with the Enterprise and Mission Critical support tiers. If you need automated user provisioning, confirm your tier includes it before the proxy design is final.
- No self-hosted ClaimMapper or Authorizer: Cloud applies its own access decisions. Do not assume self-hosted role mappings carry over into Cloud namespaces, and document each Cloud permission separately.
Confirm the credential type, SSO option and SCIM support in writing before you finalize the proxy configuration.
In both models the proxy is a connection and translation layer. It moves trust decisions to another place but does not remove them, so the proxy is easy to overestimate. Record who owns each control in each deployment model before the design review. Most gaps appear where proxy credentials, server rules and identity provider settings meet, and no single team sees all three.
- Access decisions: For self-hosted clusters, decisions sit in your Authorizer and ClaimMapper. For Cloud, they sit in Cloud namespace access. The proxy forwards identity but does not decide who may act.
- Secrets ownership: For each environment, name the team that holds the proxy credentials, who rotates them and where they are stored.
- Audit evidence: Keep proxy configuration, the certificate inventory and access logs under change control so that an auditor can trace a request from the worker to the namespace.
- Version pairing: The proxy and the Temporal Server move on separate schedules. Test them together, and follow the server upgrade guidance, which asks for one minor version at a time.
- Failure behavior: Test what happens when a certificate expires or a credential is revoked. Workers should fail visibly and should not fall back to a weaker connection path.
Write a responsibility matrix for each environment and confirm each owner with your security and platform teams.
Temporal Proxy setup sequence with checks
This sequence takes a team from an approved proxy version to workers and clients that reach self-hosted or Temporal Cloud namespaces through one local endpoint, with a test confirmed at each stage. Each check should pass before the next step begins.
Confirm the proxy version against release notes
The platform or security lead selects the Temporal Proxy build and reads its release notes alongside the Temporal Server version it will front. Confirm that the proxy version supports your target Temporal Server or Temporal Cloud endpoint and record the exact version in your change ticket. Check that the server minor version you run is supported by the release notes you read. The step is done when the version, its release notes link and the target server version are written down and approved by the owner of the Temporal Service.
Define the namespace mapping
Platform engineering and the owning application teams list each application name the workers and clients use and the target Temporal namespace it should resolve to, for self-hosted and for Temporal Cloud separately. Agree naming conventions per environment and team, and confirm that each target namespace already exists and has the retention period the team expects. The step closes with a reviewed mapping table in version control. Exact mapping syntax must come from the current proxy documentation.
Provision TLS certificates and name a rotation owner
The security team issues certificates for the proxy's local listener and for the outbound connections to each target, using the certificate authority your organization approves. Record who owns renewal and rotation, how far ahead expiry alerts fire and where the private keys are stored. Confirm the chain validates from a test client on the same host or network segment. The step is done when a test handshake succeeds against each target and the rotation owner has signed off in the runbook.
Store credentials in the team's secret manager
Platform engineering moves API keys, certificate private keys and any mTLS or OIDC client secrets into the secret manager your organization already runs, and grants read access only to the proxy's runtime identity. Remove any plaintext copies from configuration files, shell history and container images. Verify that the proxy starts with secrets injected at runtime and that a secret rotation can be performed without editing files on disk. The step closes when a secret inventory lists each credential, its owner and its storage location.
Configure the local listener
Engineers write the proxy configuration for the single local endpoint that workers and clients will use, setting the listen address, the TLS settings for that listener and the target definitions from the namespace mapping. Keep the listener on a network segment that trusted internal clients can reach, since Temporal services should not be reachable from the public internet. Validate the configuration with the proxy's own check or dry-run option if one exists, and confirm the listener binds only on the intended interface.
Point a test client at the single endpoint
Configure one test client to connect only to the local proxy endpoint, using the namespace it expects from the mapping. Start a simple test workflow from that client and confirm it reaches the intended target namespace. Repeat for a second application name that maps to a different target to confirm translation works in both directions. The check passes when each test workflow appears in the expected namespace in the Temporal Web UI or CLI and no request reaches a namespace outside the mapping.
Point workers and clients at the endpoint
Application teams update worker and client configuration so every connection goes through the proxy endpoint, removing any direct addresses to the Temporal Service or Temporal Cloud from application config. Roll the change in a non-production environment first and confirm workers poll their task queues without errors. The step is complete when workers on each task queue start, process a test workflow end to end and emit no connection or authentication errors in their logs.
Test each target separately and record results
Run an end-to-end test workflow against each target namespace on its own, including a workflow that completes, one that fails and a signal or query if your applications use them. Test self-hosted and Temporal Cloud targets independently so a fault in one does not hide a fault in the other. Record the results, the proxy and server versions tested and the owner of each target in the runbook. The sequence ends when every target passes its tests and the rollback steps have been rehearsed.
Temporal Proxy security and operational considerations
The proxy sits between your applications and the Temporal service, so its credentials, keys, network position, logs and authorization settings decide how safely the endpoint operates. The cards cover what to decide and check for each. Several controls depend on the server configuration, so review both together.
Credential storage and rotation
The proxy holds the credentials it uses toward your self-hosted server or Temporal Cloud, such as certificates and API keys. Decide where these files live, who can read them, and how file permissions are set on the host. Confirm with the vendor how rotation works and whether it needs a restart. Rehearse a rotation before go-live so an expired certificate does not stop every namespace at once.
Single point of failure and trust boundary
Every worker and client that uses the endpoint sends its traffic through the proxy, so an outage stops all namespaces it fronts. The proxy also sits inside your trust boundary, where it handles requests before they reach the server. Run redundant instances behind a stable address, monitor their health, and restrict who can change routing and namespace mapping.
Payload encryption keys
Payload encryption runs through custom codecs, and a codec server lets the Web UI decrypt payloads for operators. Keep keys in a key store that workers and the proxy can reach, not in the proxy's routing configuration. Losing the key makes stored payloads unreadable. Confirm backup, access and key rotation procedures before the first production workflow.
Self-hosted security docsNetwork placement
Temporal's deployment guidance says its services should run on hosts that are not reachable from the public internet, with network access limited to trusted internal networks. Apply the same rule to the proxy, since it is the endpoint your applications reach. Restrict inbound ports to known worker and client subnets, and keep any outbound path to Temporal Cloud listed and audited.
Deployment docsLogging without payload or secret leakage
Proxy and server logs can carry request metadata, and debug output can record more detail than production needs. Check that logs never include workflow inputs, results, tokens or private key material. Set production log levels deliberately, limit who can read log stores, and sample log output against your data classification before go-live.
Authorization depends on the server
The proxy does not replace the server's authorization. If no Authorizer is configured, self-hosted Temporal uses the default noopAuthorizer, which allows every API request with no authentication or access control. Configure a ClaimMapper and an Authorizer so namespace roles are enforced at the server, then test that a client with the wrong role is refused.
Self-hosted security docsWhere payload encryption and namespace translation sit in the chain
Transport TLS and payload encryption protect different things, so confirm each one separately. TLS protects the connection between a client or worker and the Temporal endpoint, and self-hosted Temporal also supports mTLS between internal services. Payload encryption works on the data itself. Teams implement it with a custom codec in the SDK data converter, and a codec server lets the Web UI and CLI decode payloads for authorized operators. Traffic protected by TLS still lands in the server's persistence store as payloads, so transport security alone does not hide workflow inputs and results. The self-hosted security documentation describes these controls. Before you rely on the Temporal Proxy for any of this, confirm in its current documentation whether it terminates TLS, forwards payloads untouched, or applies any codec. Do not assume it encrypts payloads.
Namespace translation carries a different risk. The proxy maps the namespace name a local worker or client uses to the namespace on the remote side. A wrong entry can send a staging worker's workflows into a production namespace, and the workflows will run without any visible error. Treat the mapping table as production configuration. Keep one namespace per environment with names that are easy to tell apart, and record which local name points to which remote namespace in version control. Review every change to that table the same way you would review a change to access rules.
Test the mapping before any environment goes live. For each environment, start a test workflow from a client that connects only through the proxy, then confirm it appears in the intended namespace and nowhere else, using the CLI or Web UI against the target. Run the same check after each proxy or configuration change. Include a negative test where a client uses the wrong local name and confirm the request is rejected or lands only where you expect. Record the results so your security and compliance reviewers can see how the mapping was verified.
Limits to confirm in your environment before you build
Temporal Proxy sits between your workers and clients and the Temporal service, so its version support, maturity, performance, failure behavior, certificate handling and SDK compatibility all shape the design. The cards below list what to confirm with vendor documentation or a test in your own environment before you commit to a routing layout.
Supported server and Cloud versions
Confirm which Temporal Server minor lines and which Temporal Cloud endpoints the proxy supports in the release you plan to deploy. Server upgrades are only backward compatible between successive minor versions, so the proxy's support matrix has to line up with the server version you run today and the one you plan to reach. Ask for the matrix in writing and record the proxy version next to each server version in your upgrade plan.
Upgrade docsGeneral availability in your release line
Confirm whether the proxy is generally available or still maturing, and whether that status applies to the exact release line you intend to run. Check which features, such as namespace translation, TLS termination and payload encryption, are covered by that status. A feature marked as preview or experimental needs a documented exit plan and a fallback path to direct connections before production use.
Added latency and throughput under load
Measure the latency and throughput the proxy adds for your task queue polling, workflow starts and signals under your expected load profile. Run the test on hardware and network paths similar to production, with TLS enabled on both legs. Compare results against a direct connection so you know the overhead you are accepting, and record the proxy's CPU and memory use at peak.
Failover when the proxy is down
Confirm what happens to workers and clients when a proxy instance fails: whether they reconnect to another instance, how long in-flight long polls take to recover, and whether any task is lost or duplicated. Ask the vendor how multiple proxy instances are meant to be deployed behind a load balancer. Then test a forced instance failure during active workflow execution and record the outcome.
Certificate rotation without restarts
Confirm whether the proxy reloads TLS certificates and keys at runtime or needs a restart, and how long the old certificate remains trusted during rotation. Check whether client certificates for workers and the certificate used toward Temporal Cloud or the self-hosted frontend can be rotated independently. Rehearse a rotation in a non-production environment and watch for dropped connections and worker reconnect errors.
SDK versions used by workers
Confirm which Temporal SDK versions and languages the workers use are compatible with the proxy, including how the SDK sends namespace and identity metadata through it. Mixed SDK versions across services are common in larger organizations, so test each one you run. Pin the tested combinations in your build pipeline and retest them whenever the SDK or proxy version changes.
Questions teams ask before building a Temporal Proxy setup
What does a Temporal Proxy setup cost and what drives the price up?
The cost is the fixed-scope work of designing and configuring the proxy, TLS, credentials and payload encryption, plus the infrastructure it runs on, which you pay for in your own accounts. The work scales with the number of namespaces, the number of clients and workers that connect through the proxy, how many backends you route to (self-hosted, Temporal Cloud or both), and how much certificate and secrets handling your security team requires. Ask any partner for a quote built from a written scope that lists each of these items, and confirm which parts are one-time (design, build, testing) and which recur (certificate rotation, proxy upgrades, monitoring, support).
How long does a Temporal Proxy setup take?
Duration depends on how many namespaces and backends are in scope, how much of the TLS and credential model already exists, and whether your identity and secrets systems are ready to issue the credentials the proxy needs. A single self-hosted backend with one namespace and an existing certificate authority is a much smaller job than several namespaces routed to self-hosted and Temporal Cloud with payload encryption. Ask for a timeline tied to the written scope and to your change approval process, and confirm the dependencies on your side before work starts.
What must our team provide before the engagement starts?
Expect to provide access to the target environments, the namespace list and naming convention, the certificate authority or the process for issuing certificates, the secrets store where credentials will live, and the network paths between workers, the proxy and the Temporal backend. You also need a named owner for namespace access decisions and for the payload codec and encryption keys, since the proxy cannot decide those for you. Confirm each item in writing so that delays in access do not become unplanned scope.
Can our in-house team build and run the Temporal Proxy setup?
Yes, if your platform team already operates Temporal workers, Kubernetes or VM infrastructure, TLS, and a secrets manager, and has time to test failover and certificate rotation. The harder parts are usually not the proxy configuration itself but the operating model: who rotates certificates, who approves namespace changes, and how a failed backend is handled. The Temporal self-hosted security documentation covers mTLS, the ClaimMapper and the Authorizer, and your team should be comfortable with those settings before it takes on production traffic. If any of these skills are thin, a partner can cover the gap for a defined scope.
Does the proxy change how we handle payload encryption?
The proxy can sit in the path where payloads are encrypted toward a backend, but it does not replace a sound codec design. You still need to decide which data is encrypted, where the keys live, who can decrypt, and how a codec server is secured if your Web UI uses one. Test the full path with real payload types and confirm that the proxy does not log or cache sensitive fields. Ask the vendor to show the documented behavior for the version you plan to run, since proxy features and their maturity can change between releases.
What do Temporal Cloud pricing and support add-ons mean for this decision?
The Temporal pricing page lists pay-as-you-go starting at 50 US dollars per million actions, active storage at 0.042 US dollars per GB-hour and retained storage at 0.00105 US dollars per GB-hour, with a 99.9% SLA or 99.99% with high availability. It also lists support add-ons, with Business starting at 500 US dollars per month for a 2-hour P0 response in business hours, and Enterprise and Mission Critical quoted by sales with 30-minute or 15-minute P0 response around the clock and SCIM. Actual Cloud bills depend on your action volume, storage, retention and support level, so these starting points are not a total cost. Ask Temporal for a quote based on your workload and compare it with the staff and infrastructure time of running a self-hosted backend.
Should we route to Temporal Cloud and self-hosted Temporal through one proxy?
Routing both is possible in design, but it adds namespace mapping, separate credentials and two sets of operational responsibilities, so it should be a deliberate decision rather than a default. Teams often use one backend per environment first and add a second only when there is a clear migration or data residency need. Confirm with the vendor how each backend authenticates the proxy, how namespace names map between them, and how workflow ownership moves if you migrate later. Keep the routing rules in version control so that changes are reviewed like other infrastructure.
How DeployOpen scopes and delivers Temporal Proxy work
DeployOpen plans and implements the Temporal Proxy in infrastructure you control, so workers and clients reach one local endpoint while namespace routing, TLS and credentials are handled in one reviewed place. Engagements are fixed-scope, with the routing map, certificate chain, credential model and payload encryption agreed in writing before the build starts.
How we scope
- Inventory every worker and client, the namespaces each one uses, and the Temporal endpoints they reach today
- Agree which self-hosted Temporal Service or Temporal Cloud namespaces the proxy will route to, and in which environments
- Define the TLS model, certificate issuer, credential source and payload encryption ownership in the written scope
- Confirm with the Temporal documentation and your own environment which proxy settings your server version supports
How we build
- Deploy the proxy in your network with routing, namespace translation and TLS configured from the agreed design
- Wire worker and client connections to the local endpoint, then test namespace isolation and certificate validation
- Run failure tests for expired certificates, unreachable upstreams and rotated credentials before any cutover
- Keep secrets out of configuration files, using the secret store your organization already operates
How we hand over
- Deliver the routing map, configuration files, certificate runbook and credential rotation steps as documentation
- Document how the proxy is upgraded alongside Temporal Server, including the version pairs you have tested
- Walk your platform and security teams through the logs, metrics and alerts used to spot routing or TLS faults
- Provide a retest of the agreed checks at handover, with findings and fixes recorded in writing
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover
- Retainers can cover proxy upgrades, certificate renewal checks and periodic routing reviews as the namespace list grows
- Ask for the support scope, response expectations and change process in the written quote before you commit
- Confirm with your own teams who owns certificate authority, identity and on-call for the proxy before the engagement starts

