Skip to main content

Key types

Key types allow you to define the allowed key types. Certificates are issued only when the keypair corresponds to one of the key types defined in the certificate template.

Key types also define the allowed key types for server-side key pair generation.

Example JSON: Key types

{
    ...
    "key_type": {
      "allowed_types": [
        "rsa",
        "ecdsa",
        "Ed25519",
        "MLDSA"
      ],
      "default_key_type":"rsa"
    },
    ...
}

Parameters: Key types

Name

Type

Req/Opt

Description

key_types

array of strings

required

Key types that can be used to generate a certificate.

Possible values:

  • RSA_2048

  • RSA_3072

  • RSA_4096

  • P_256

  • P_384

  • P_512