--- title: "certificate create" slug: "certificate-create" tags: ["5.4"] updated: 2026-10-28T01:53:11Z published: 2026-10-28T01:53:11Z canonical: "docs.vastdata.com/certificate-create" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # certificate create This command adds a certificate to the VMS. ## Usage ```plaintext certificate create --name NAME                   [--cert-type WEBHOOK|KAFKA|KAFKA_MTLS|SMTP]                   [--certificate TEXT]                   [--private-key TEXT]                   [--ca-certificate TEXT] ``` ## Required Parameters | `--name NAME` | Sets a name for the certificate. | | --- | --- | ## Options | `--cert-type WEBHOOK\|KAFKA\|KAFKA_MTLS\|SMTP` | Determines the capability to be authenticated with the certificate. Valid values: - `WEBHOOK` for webhook connections. - `KAFKA` for Kafka connections. - `KAFKA_MTLS` for Kafka mTLS authentication. - `SMTP` for securing SMTP connection used to send event notification emails. **NOTE**: This option is available with VAST Cluster 5.4.6 and later. | | --- | --- | | `--certificate TEXT` | Supply the certificate as plain text. | | `--private-key TEXT` | Supply the private key for the certificate. | | `--ca-certificate TEXT` | Supply the CA certificate as plain text. | ## Example To add a CA certificate to be used to authenticate SMTP connections: ```plaintext vcli: admin> certificate create --name test --cert-type SMTP --ca-certificate <...> ```