configurations CLI command reference

Detailed information on the configurations CLI command

Description

List all Dapr configurations.

Supported platforms

Usage

  1. dapr configurations [flags]

Flags

NameEnvironment VariableDefaultDescription
—kubernetes, -kfalseList all Dapr configurations in Kubernetes cluster (required).
—all-namespaces, -AtrueIf true, list all Dapr configurations in all namespaces (optional)
—namespaceList Dapr configurations in specific namespace.
—name, -nPrint specific Dapr configuration. (optional)
—output, -olistOutput format (options: json or yaml or list)
—help, -hPrint this help message

Examples

  1. # List Dapr configurations in all namespaces in Kubernetes mode
  2. dapr configurations -k
  3. # List Dapr configurations in specific namespace in Kubernetes mode
  4. dapr configurations -k --namespace default
  5. # Print specific Dapr configuration in Kubernetes mode
  6. dapr configurations -k -n appconfig
  7. # List Dapr configurations in all namespaces in Kubernetes mode
  8. 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:

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

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