vcenter certificate management vcenter vmca root: create spec

The create_spec contains information. to generate a Private Key and CSR. This structure was added in vSphere API 6.9.1.

Representation:

{
    "state_or_province""string",
    "country""string",
    "email_address""string",
    "organization""string",
    "locality""string",
    "subject_alt_name"[
        "string",
        "string"
    ],
    "common_name""string",
    "key_size"1,
    "organization_unit""string"
}

Attributes:

Name Type Description
Optional
key_size long The size of the key to be used for public and private key generation. This attribute was added in vSphere API 6.9.1.

Optional. If unset the key size will be 2048.

common_name string The common name of the host for which certificate is generated. This attribute was added in vSphere API 6.9.1.

Optional. If unset the common name will be the primary network identifier (PNID) of the vCenter Virtual Server Appliance (VCSA).

organization string Organization field in certificate subject. This attribute was added in vSphere API 6.9.1.

Optional. If unset the organization will be 'VMware'.

organization_unit string Organization unit field in certificate subject. This attribute was added in vSphere API 6.9.1.

Optional. If unset the organization unit will be 'VMware Engineering'.

locality string Locality field in certificate subject. This attribute was added in vSphere API 6.9.1.

Optional. If unset the locality will be 'Palo Alto'.

state_or_province string State field in certificate subject. This attribute was added in vSphere API 6.9.1.

Optional. If unset the state will be 'California'.

country string Country field in certificate subject. This attribute was added in vSphere API 6.9.1.

Optional. If unset the country will be 'US'.

email_address string Email field in Certificate extensions. This attribute was added in vSphere API 6.9.1.

Optional. If unset the emailAddress will be 'email@acme.com'.

subject_alt_name string[] SubjectAltName is list of Dns Names and Ip addresses. This attribute was added in vSphere API 6.9.1.

Optional. If unset PNID of host will be used as IPAddress or Hostname for certificate generation.