Crypto Manager Host List Keys

Crypto Manager Host List Keys

List keys.

* When executed against the host, lists all the keys added to the host's key cache by AddKey/AddKeys. * When executed against the VC, lists all the keys used by the correctly registered VMs, and the host key.

Required privileges: Cryptographer.ManageKeys

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/CryptoManagerHost/{moId}/ListKeys
COPY
Path Parameters
string
moId
Required

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}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Request Body
ListKeysRequestType of type(s) application/json
Required
{
    "limit": 0
}
integer As int32 As int32
limit
Optional

[in] maximum keys to return.

Authentication
This operation uses the following authentication methods.
Responses
200

List of known keys.

Returns Array of CryptoKeyId of type(s) application/json
[
    {
        "_typeName": "string",
        "keyId": "string",
        "providerId": {
            "_typeName": "string",
            "id": "string"
        }
    }
]