Skip to main content

Temporal CLI cloud connectivity command reference

This page provides a reference for the temporal cloud connectivity commands. The flags applicable to each subcommand are presented in a table within the heading for the subcommand. Refer to Global Flags for flags that you can use with every subcommand.

delete

Delete a connectivity rule by its ID.

Example:

cloud connectivity delete --id <connectivity-rule-id>

Use the following options to change the behavior of this command. You can also use any of the global flags that apply to all subcommands.

FlagRequiredDescription
--api-keyNostring API key for authenticating with Temporal Cloud. Can be used instead of interactive login for automation and CI/CD pipelines.
--asyncNobool Return immediately after initiating the operation instead of waiting for completion. Use the returned operation ID to check status later.
--async-operation-idNostring Custom identifier for tracking this async operation. If not provided, a unique ID is generated automatically.
--idYesstring The ID of the connectivity rule.
--idempotentNobool Succeed silently if the resource already exists or matches the specification. Without this flag, the command errors when no changes are needed.
--poll-intervalNoduration Time to wait between status checks when waiting for operation completion. Cannot be greater than 10 minutes. Supports minutes (m) and seconds (s). Default is 1s.
--resource-version, -vNostring Resource version for optimistic concurrency control. If not provided, the current version is fetched automatically.
--serverNostring Override the Temporal Cloud API server address. Used for connecting to non-production environments.

get

Get details of a specific connectivity rule by its ID.

Example:

cloud connectivity get --id <connectivity-rule-id>

Use the following options to change the behavior of this command. You can also use any of the global flags that apply to all subcommands.

FlagRequiredDescription
--api-keyNostring API key for authenticating with Temporal Cloud. Can be used instead of interactive login for automation and CI/CD pipelines.
--idYesstring The ID of the connectivity rule.
--serverNostring Override the Temporal Cloud API server address. Used for connecting to non-production environments.

list

List connectivity rules, optionally filtered by namespace.

Example:

cloud connectivity list --namespace my-namespace.my-account

Use the following options to change the behavior of this command. You can also use any of the global flags that apply to all subcommands.

FlagRequiredDescription
--api-keyNostring API key for authenticating with Temporal Cloud. Can be used instead of interactive login for automation and CI/CD pipelines.
--namespace, -nNostring Filter connectivity rules by namespace (e.g., 'my-namespace.my-account').
--page-sizeNoint Number of connectivity rules to return per page.
--page-tokenNostring Page token for pagination.
--serverNostring Override the Temporal Cloud API server address. Used for connecting to non-production environments.

private

Commands for managing private connectivity rules.

private create

Create a new private VPC connectivity rule. Requires --connection-id and --region.

Example:

cloud connectivity private create --connection-id vpce-12345 --region aws-us-west-2

Use the following options to change the behavior of this command. You can also use any of the global flags that apply to all subcommands.

FlagRequiredDescription
--api-keyNostring API key for authenticating with Temporal Cloud. Can be used instead of interactive login for automation and CI/CD pipelines.
--asyncNobool Return immediately after initiating the operation instead of waiting for completion. Use the returned operation ID to check status later.
--async-operation-idNostring Custom identifier for tracking this async operation. If not provided, a unique ID is generated automatically.
--connection-idYesstring The connection ID for private connectivity.
--gcp-project-idNostring The GCP project ID (only for GCP private connectivity).
--idempotentNobool Succeed silently if the resource already exists or matches the specification. Without this flag, the command errors when no changes are needed.
--poll-intervalNoduration Time to wait between status checks when waiting for operation completion. Cannot be greater than 10 minutes. Supports minutes (m) and seconds (s). Default is 1s.
--regionYesstring The region for private connectivity.
--serverNostring Override the Temporal Cloud API server address. Used for connecting to non-production environments.

public

Commands for managing public connectivity rules.

public create

Create a new public internet connectivity rule.

Example:

cloud connectivity public create

Use the following options to change the behavior of this command. You can also use any of the global flags that apply to all subcommands.

FlagRequiredDescription
--api-keyNostring API key for authenticating with Temporal Cloud. Can be used instead of interactive login for automation and CI/CD pipelines.
--asyncNobool Return immediately after initiating the operation instead of waiting for completion. Use the returned operation ID to check status later.
--async-operation-idNostring Custom identifier for tracking this async operation. If not provided, a unique ID is generated automatically.
--idempotentNobool Succeed silently if the resource already exists or matches the specification. Without this flag, the command errors when no changes are needed.
--poll-intervalNoduration Time to wait between status checks when waiting for operation completion. Cannot be greater than 10 minutes. Supports minutes (m) and seconds (s). Default is 1s.
--serverNostring Override the Temporal Cloud API server address. Used for connecting to non-production environments.

Global Flags

The following options can be used with any command.

FlagRequiredDescriptionDefault
--api-keyNostring API key for authenticating with Temporal Cloud. Can be used instead of interactive login for automation and CI/CD pipelines.
--auto-confirmNobool Automatically confirm prompts and actions that require user confirmation. Useful for scripting and automation.
--config-dirNostring Directory path where CLI configuration files are stored, including authentication tokens and settings.
--disable-pop-upNobool Prevent the CLI from opening a browser window during authentication. Useful for headless environments or when using alternative auth methods.
--serverNostring Override the Temporal Cloud API server address. Used for connecting to non-production environments.saas-api.tmprl-test.cloud:443