Create KMS Services
Registers a Key Provider Service instance in this vCenter. if you do not have all of the privileges described as follows: - Operation execution requires TrustedAdmin.ManageTrustedHosts.
Request
URLURL
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
The CreateSpec for the new service.
{
"address": {
"hostname": "string"
},
"group": "string",
"trust_authority_cluster": "string",
"trusted_CA": {
"cert_chain": [
"string"
]
}
}
The group determines the Attestation Service instances this Key Provider service can accept reports from.
The cluster specifies the Trust Authority Cluster this Key Provider Service belongs to.
Authentication
Response
Response BodyResponse Body
ID of the newly registered Key Provider Service instance. The result will be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.kms.Service.
Errors
com.vmware.vapi.std.errors.already_exists : if there is already a Key Provider Service instance with the same Address. | com.vmware.vapi.std.errors.invalid_argument : if the CreateSpec contains invalid data.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
PowerCLI Client SDK All Parameters Example
cURL Command
Vendor Extensions
x-vmw-doc-operation: create