esx kms providers credential: set
Set key server credential.
Request:
HTTP request
PUT https://{server}/api/esx/kms/providers/{provider}/credential
"secret string"
Path Parameters
| Name | Type | Description |
|---|---|---|
| Required | ||
| provider | string | Identifier of the provider. |
Body Parameters:
| Name | Type | Description |
|---|---|---|
| bold = required | ||
| - | secret | Key server credential. |
Response:
HTTP Status Code: 204
Headers:
NoneType:
NoneErrors:
| 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. |