temporal
How to get these credentialsTemporal frontend address, namespace and credentials: an API key (Temporal Cloud), mTLS client certificates, or none for a local dev server.
CREATE SECRET temporal (
TYPE temporal,
host '<host>',
namespace '<namespace>',
api_key '<TEMPORAL_API_KEY>', -- secret
tls '<tls>',
ca_cert '<ca_cert>',
client_cert '<client_cert>',
client_key '<CLIENT_KEY>', -- secret
server_name '<server_name>',
ui_url '<ui_url>'
);
| Key | Type | Required | Description |
|---|---|---|---|
| host | VARCHAR | — | Frontend gRPC address host:port, e.g. my-ns.a1b2c.tmprl.cloud:7233 or <region>.<cloud>.api.temporal.io:7233 (Temporal Cloud) or temporal.internal:7233. Default 127.0.0.1:7233. |
| namespace | VARCHAR | — | Namespace queried by default, e.g. my-ns.a1b2c on Temporal Cloud. Default 'default'. |
| api_key secret | VARCHAR | — | Temporal Cloud API key, sent as 'Authorization: Bearer <key>'. Turns TLS on unless TLS is 'false'. |
| tls | VARCHAR | — | 'true' to connect with TLS (default 'false', or 'true' when API_KEY or CLIENT_CERT is set). |
| ca_cert | VARCHAR | — | PEM CA bundle that signed the server certificate; default the system roots. |
| client_cert | VARCHAR | — | PEM client certificate for mTLS (Temporal Cloud mTLS namespaces, self-hosted mTLS). |
| client_key secret | VARCHAR | — | PEM private key of CLIENT_CERT. |
| server_name | VARCHAR | — | TLS server name to verify, when it differs from the HOST name. |
| ui_url | VARCHAR | — | Base URL of the Temporal Web UI used for the url columns, e.g. https://cloud.temporal.io or http://localhost:8233. Default: derived from HOST for Temporal Cloud and local dev servers, otherwise none. |
The worker doesn't mark which keys are required.
Needed by batch_operationscount_workflow_executionspending_activitiesschedulessearch_attributestask_queuesworkflow_executionsworkflow_history