Create Attestation Services
Registers a new Attestation 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 specifies the Key Provider Service instances that can accept reports issued by this Attestation Service instance.
The cluster specifies the Trust Authority Cluster this Attestation Service belongs to.
Authentication
Response
Response BodyResponse Body
ID of the newly registered Attestation Service instance. The result will be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.attestation.Service.
Errors
com.vmware.vapi.std.errors.already_exists : if there is already a Attestation 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