vcenter trusted infrastructure kms services: list
Returns basic information about all registered Key Provider Service instances in this vCenter. This operation was added in vSphere API 7.0.0.
Request:
HTTP request
POST https://{server}/api/vcenter/trusted-infrastructure/kms/services
?action=query
?action=query
{
"address" : [
{
"hostname" : "string",
"port" : 1
},
{
"hostname" : "string",
"port" : 1
}
],
"services" : [
"obj-103",
"obj-103"
],
"trust_authority_cluster" : [
"string",
"string"
],
"group" : [
"string",
"string"
]
}
"address" : [
{
"hostname" : "string",
"port" : 1
},
{
"hostname" : "string",
"port" : 1
}
],
"services" : [
"obj-103",
"obj-103"
],
"trust_authority_cluster" : [
"string",
"string"
],
"group" : [
"string",
"string"
]
}
Body Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
- | filter_spec | Optional. Return only services matching the specified filters. |
-.services | string[] | A set of IDs by which to filter the services. This attribute was added in vSphere API 7.0.0. Optional. 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 . |
-.address | network_address[] | A set of address by which to filter. This attribute was added in vSphere API 7.0.0. Optional. If unset, the services will not be filtered by address. |
-.address[].hostname | string | The IP address or DNS resolvable name of the service. This attribute was added in vSphere API 7.0.0. |
-.address[].port | long | The port of the service. This attribute was added in vSphere API 7.0.0. Optional. If unset, port 443 will be used. |
-.group | string[] | The group determines the Attestation Service instances this Key Provider Service can accept reports from. This attribute was added in vSphere API 7.0.0. Optional. If unset, the Services will not be filtered by group. |
-.trust_authority_cluster | string[] | The cluster specifies the Trust Authority Cluster this Key Provider Service belongs to. This attribute was added in vSphere API 7.0.0. Optional. If unset, the Services will not be filtered by trustAuthorityCluster. |
Response:
HTTP Status Code: 200
Response Body Structure:
[
{
"address" : {
"hostname" : "string",
"port" : 1
},
"service" : "obj-103",
"trust_authority_cluster" : "string",
"group" : "string"
},
{
"address" : {
"hostname" : "string",
"port" : 1
},
"service" : "obj-103",
"trust_authority_cluster" : "string",
"group" : "string"
}
]
{
"address" : {
"hostname" : "string",
"port" : 1
},
"service" : "obj-103",
"trust_authority_cluster" : "string",
"group" : "string"
},
{
"address" : {
"hostname" : "string",
"port" : 1
},
"service" : "obj-103",
"trust_authority_cluster" : "string",
"group" : "string"
}
]
Headers:
NoneType:
Name | Type | Description |
---|---|---|
bold = required | ||
- | summary[] | Basic information about all registered Key Provider Service instances in this vCenter. |
-[].service | string | The service's unique identifier. This attribute was added in vSphere API 7.0.0. 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 . |
-[].address | network_address | The service's address. This attribute was added in vSphere API 7.0.0. |
-[].address.hostname | string | The IP address or DNS resolvable name of the service. This attribute was added in vSphere API 7.0.0. |
-[].address.port | long | The port of the service. This attribute was added in vSphere API 7.0.0. Optional. If unset, port 443 will be used. |
-[].group | string | The group determines the Attestation Service instances this Key Provider Service can accept reports from. This attribute was added in vSphere API 7.0.0. |
-[].trust_authority_cluster | string | The cluster specifies the Trust Authority Cluster this Key Provider service belongs to. This attribute was added in vSphere API 7.0.0. |
Errors:
HTTP Status Code | Type | Description |
---|---|---|
500 | error | if an error occurred while getting the data. |
401 | unauthenticated | if the user can not be authenticated. |