The documentation you are viewing is for Dapr v1.9 which is an older version of Dapr. For up-to-date documentation, see the latest version.

configurations CLI command reference

Detailed information on the configurations CLI command

Description

List all Dapr configurations.

Supported platforms

Usage

dapr configurations [flags]

Flags

Name Environment Variable Default Description
--kubernetes, -k false List all Dapr configurations in Kubernetes cluster (required).
--all-namespaces, -A true If true, list all Dapr configurations in all namespaces (optional)
--namespace List Dapr configurations in specific namespace.
--name, -n Print specific Dapr configuration. (optional)
--output, -o list Output format (options: json or yaml or list)
--help, -h Print this help message

Examples

# List Dapr configurations in all namespaces in Kubernetes mode
dapr configurations -k

# List Dapr configurations in specific namespace in Kubernetes mode
dapr configurations -k --namespace default

# Print specific Dapr configuration in Kubernetes mode
dapr configurations -k -n appconfig

# List Dapr configurations in all namespaces in Kubernetes mode
dapr configurations -k --all-namespaces

Warning messages

This command can issue warning messages.

Root certificate renewal warning

If the mtls root certificate deployed to the Kubernetes cluster expires in under 30 days the following warning message is displayed:

Dapr root certificate of your Kubernetes cluster expires in <n> days. Expiry date: <date:time> UTC. 
Please see docs.dapr.io for certificate renewal instructions to avoid service interruptions.

Last modified April 1, 2022: Addressing review comments (72af4c74)