docs/daprdocs/content/en/reference/cli/dapr-mtls/_index.md

1.4 KiB

type title linkTitle description
docs mtls CLI command reference mtls Detailed information on the mtls CLI command

Description

Check if mTLS is enabled.

Supported platforms

  • [Kubernetes]({{< ref kubernetes >}})

Usage

dapr mtls [flags]
dapr mtls [command]

Flags

Name Environment Variable Default Description
--help, -h Print this help message
--kubernetes, -k false Check if mTLS is enabled in a Kubernetes cluster

Available Commands

expiry              Checks the expiry of the root certificate
export              Export the root CA, issuer cert and key from Kubernetes to local files
renew-certificate   Rotates root CA, issuer cert and issuer key in Kubernetes secret used by Sentry service

Command Reference

You can learn more about each sub command from the links below.

  • [dapr mtls expiry]({{< ref dapr-mtls-expiry.md >}})
  • [dapr mtls export]({{< ref dapr-mtls-export.md >}})
  • [dapr mtls renew-certificate]({{< ref dapr-mtls-renew-certificate.md >}})

Examples

# Check if mTLS is enabled
dapr mtls -k