List KMS Services
Returns basic information about all registered Key Provider Service instances in this vCenter. if you do not have all of the privileges described as follows: - Operation execution requires TrustedAdmin.ReadTrustedHosts.
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
Return only services matching the specified filters. If {@term.unset} return all services.
{
"address": [
{
"hostname": "string",
"port": 0
}
],
"group": [
"string"
],
"services": [
"string"
],
"trust_authority_cluster": [
"string"
]
}
A set of address by which to filter. If unset, the services will not be filtered by address.
The group determines the Attestation Service instances this Key Provider Service can accept reports from. If unset, the Services will not be filtered by group.
A set of IDs by which to filter the services. If unset, the services will not be filtered by ID. When clients pass a value of this structure as a parameter, the field must contain identifiers 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 contain identifiers for the resource type: com.vmware.vcenter.trusted_infrastructure.kms.Service.
The cluster specifies the Trust Authority Cluster this Key Provider Service belongs to. If unset, the Services will not be filtered by trustAuthorityCluster.
Authentication
Response
Response BodyResponse Body
array
of
TrustedInfrastructureKmsServicesSummary
of type application/json
Basic information about all registered Key Provider Service instances in this vCenter.
[
{
"address": {
"hostname": "string",
"port": 0
},
"group": "string",
"service": "string",
"trust_authority_cluster": "string"
}
]
The group determines the Attestation Service instances this Key Provider Service can accept reports from.
The service’s unique identifier. 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.
The cluster specifies the Trust Authority Cluster this Key Provider service belongs to.
Errors
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-operation: list