certificate create

Prev Next

This command adds a certificate to the VMS.

Usage

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:

vcli: admin> certificate create --name test --cert-type SMTP --ca-certificate <...>