Crypto Manager Host Change Key Task
Change the key used for core dump encryption Note: CryptoManagerHostEnable must be called first If successful, a "best effort" will be made to "in place" shallow recrypt any core dumps found in /var/core to use the new key.
Required privileges: Cryptographer.RegisterHost
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case CryptoManagerHost/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
"ChangeKeyRequestType Object"
Data Object representing a plain text cryptographic key.
InvalidState: if the host is not in safe state
"InvalidState Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/CryptoManagerHost/{moId}/ChangeKey_Task