Skip to main content

Temporal CLI config command reference

View Markdown

This page provides a reference for the temporal CLI config command. 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

Remove a property within a profile.

temporal config delete \
--prop tls.client_cert_path

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
--prop, -pYesstring Specific property to delete. If unset, deletes entire profile.

delete-profile

Remove a full profile entirely. The --profile must be set explicitly.

temporal config delete-profile \
--profile my-profile

Use global flags to customize the connection to the Temporal Service for this command.

get

Display specific properties or the entire profile.

temporal config get \
--prop address

or

temporal config get

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
--prop, -pNostring Specific property to get.

list

List profile names in the config file.

temporal config list

Use global flags to customize the connection to the Temporal Service for this command.

set

Assign a value to a property and store it in the config file:

temporal config set \
--prop address \
--value us-west-2.aws.api.temporal.io:7233

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
--prop, -pYesstring Property name.
--value, -vYesstring Property value.

Global Flags

The following options can be used with any command.

FlagRequiredDescriptionDefault
--addressNostring Temporal Service gRPC endpoint.localhost:7233
--api-keyNostring API key for request.
--client-authorityNostring Temporal gRPC client :authority pseudoheader.
--client-connect-timeoutNoduration Client connection timeout.
--codec-authNostring Authorization header for Codec Server requests.
--codec-endpointNostring Remote Codec Server endpoint.
--codec-headerNostring[] HTTP headers for codec server (KEY=VALUE, repeatable).
--colorNostring-enum Output coloring. Accepted values: always, never, auto.auto
--command-timeoutNoduration Command execution timeout.
--config-fileNostring TOML config file path.
--disable-config-envNobool Disable loading config from environment variables.
--disable-config-fileNobool Disable loading config from file.
--envNostring Active environment name (ENV).default
--env-fileNostring Path to environment settings file.
--grpc-metaNostring[] HTTP headers for requests (KEY=VALUE, repeatable).
--identityNostring Identity of the client submitting requests.
--log-formatNostring-enum Log format. Accepted values: text, json.text
--log-levelNostring-enum Log level. Default is "never" for most commands and "warn" for "server start-dev". Accepted values: debug, info, warn, error, never.never
--namespace, -nNostring Temporal Service Namespace.default
--no-json-shorthand-payloadsNobool Raw payload output, even if the JSON option was used.
--output, -oNostring-enum Non-logging data output format. Accepted values: text, json, jsonl, none.text
--profileNostring Profile to use for config file.
--time-formatNostring-enum Time format. Accepted values: relative, iso, raw.relative
--tlsNobool Enable base TLS encryption. Auto-enabled when api-key or TLS options are set.
--tls-ca-dataNostring Inline server CA certificate data.
--tls-ca-pathNostring Path to server CA certificate.
--tls-cert-dataNostring Inline x509 certificate data.
--tls-cert-pathNostring Path to x509 certificate.
--tls-disable-host-verificationNobool Disable TLS host-name verification.
--tls-key-dataNostring Inline x509 private key data.
--tls-key-pathNostring Path to x509 private key.
--tls-server-nameNostring Override target TLS server name.