vcenter trusted infrastructure trusted clusters kms services: create spec

The create_spec structure contains the data necessary for configuring a registered Key Provider Service instance with a cluster in the environment. This structure was added in vSphere API 7.0.0.

Representation:

{
    "service""obj-103",
    "type""SERVICE",
    "trust_authority_cluster""string"
}

Attributes:

Name Type Description
Required
type string Source of truth for the configuration of the Key Provider Service. This attribute was added in vSphere API 7.0.0.

Specifies source of truth the Key Provider Service will use for its configuration. This enumeration was added in vSphere API 7.0.0. Value is one of:
SERVICE: The Key Provider Service will be configured based on an ID of an specific Key Provider Service. This constant was added in vSphere API 7.0.0.
CLUSTER: The Key Provider Service will be configured based on an ID of a whole attestation cluster. This constant was added in vSphere API 7.0.0.

Optional
service string The service's unique ID. This attribute was added in vSphere API 7.0.0.

Optional. It is only relevant when type has value SERVICE. This field is optional and it is only relevant when the value of type is SERVICE.When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.kms.Service. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.kms.Service.

trust_authority_cluster string The attestation cluster's unique ID. This attribute was added in vSphere API 7.0.0.

Optional. It is only relevant when type has value CLUSTER. This field is optional and it is only relevant when the value of type is CLUSTER.