--- type: docs title: "mtls CLI command reference" linkTitle: "mtls" description: "Detailed information on the mtls CLI command" --- ## Description Check if mTLS is enabled. ## Supported platforms - [Kubernetes]({{< ref kubernetes >}}) ## Usage ```bash 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 ```txt expiry Checks the expiry of the root certificate export Export the root CA, issuer cert and key from Kubernetes to local files ``` ## 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 >}}) ## Examples ### Check if mTLS is enabled ```bash dapr mtls -k ```