Zuplo
Zuplo CLI

Zuplo CLI: Mtls Certificate Create

Creates a new mTLS certificate for a project
TerminalCode
zuplo mtls-certificates create --name <name> --cert <file> --key <file> --environment <env> [options]

Examples

Create an mTLS certificate enabled for the production environment

TerminalCode
zuplo mtls-certificates create --name my_cert --cert ./cert.pem --key ./key.pem --environment production

Create an mTLS certificate enabled for multiple environments

TerminalCode
zuplo mtls-certificates create --name dev_cert --cert ./cert.pem --key ./key.pem --environment development --environment preview

Explicitly specify the account and project

TerminalCode
zuplo mtls-certificates create --name my_cert --cert ./cert.pem --key ./key.pem --environment production --account my-account --project my-project

Options

--name

The name of the certificate (alphanumeric with underscores)

Type: string

--cert

Path to the PEM-encoded certificate file

Type: string

--key

Path to the PEM-encoded private key file

Type: string

--account

The account name

Type: string

--project

The project name

Type: string

--environment

Environments where the certificate should be enabled (can be repeated: --environment development --environment production)

Type: arrayChoices: development, preview, production

Global options

The following global options are available for all commands:

Last modified on