esx kms providers credential: get
Get key server credential. Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.
Request:
HTTP request
GET https://{server}/api/esx/kms/providers/{provider}/credential
Path Parameters
| Name | Type | Description |
|---|---|---|
| Required | ||
| provider | string | Identifier of the provider. |
Response:
HTTP Status Code: 200
Response Body Structure:
{
"credential" : "secret string"
}
"credential" : "secret string"
}
Headers:
NoneType:
| Name | Type | Description |
|---|---|---|
| bold = required | ||
| - | info | The key server credential information. |
| -.credential | secret | The key server credential. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. |
Errors:
| HTTP Status Code | Type | Description |
|---|---|---|
| 500 | error | if there is a generic error. |
| 400 | invalid_argument | if the provider is empty. |
| 404 | not_found | if the provider is not found. |
| 401 | unauthenticated | if the caller is not authenticated. |
| 403 | unauthorized | if the caller is not authorized. |