esx attestation raw config: get
Return the configuration information.
Returns the attestation service persistent user configuration.
Request:
HTTP request
GET https://{server}/api/esx/attestation/raw-config
?type={value}
?type={value}
Query Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
type | string | Optional. The type of esx.attestation.raw_config.info that will be returned. |
Response:
HTTP Status Code: 200
Response Body Structure:
{
"last_update_time" : "2015-01-01T22:13:05.651Z",
"configuration" : "YmluYXJ5",
"fingerprint" : "string"
}
"last_update_time" : "2015-01-01T22:13:05.651Z",
"configuration" : "YmluYXJ5",
"fingerprint" : "string"
}
Headers:
NoneType:
Name | Type | Description |
---|---|---|
bold = required | ||
- | info | The configuration. |
-.configuration | binary | An opaque configuration blob that represents the entire service persistent user configuration. This configuration blob can be provided to set in order to either restore a previous configuration, or to replicate configuration across instances in a cluster. Note that the configuration does not include private signing keys that are used to sign attestation reports. The signing keys cannot be replicated. Optional. unset when FULL is not specified. |
-.fingerprint | string | A configuration digest which can be used to uniquely identify the service configuration. Two service instances can be assumed to have the same configuration if their esx.attestation.raw_config.info.fingerprint fields match. |
-.last_update_time | date_time | The configuration last update time. |
Errors:
HTTP Status Code | Type | Description |
---|---|---|
500 | error | if there is a generic error. |
400 | invalid_argument | if the info type is invalid. |
401 | unauthenticated | if the caller is not authenticated. |
403 | unauthorized | if the caller is not authorized. |