REST API - set

esx kms providers credential: set

Set key management 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 KMIP KMS password or AWS access key.

Response:

HTTP Status Code: 204

Headers:

None

Type:

None

Errors:

HTTP Status Code Type Description
400 invalid_argument if the provider Id 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.
500 error if any other error occurs.