Crypto Manager Kmip Set Key Custom Attributes
Set crypto key's custom attributes.
Since: vSphere API Release 8.0.1.0
Required privileges: Cryptographer.ManageKeys
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 CryptoManagerKmip/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"keyId": {
"_typeName": "string",
"keyId": "string",
"providerId": {
"_typeName": "string",
"id": "string"
}
},
"spec": {
"_typeName": "string",
"attributes": [
{
"_typeName": "string",
"key": "string",
"value": "string"
}
]
}
}
Crypto key custom attribute spec
Since: vSphere API Release 8.0.1.0
The structure combined with status and fail reason.
{
"_typeName": "string",
"keyId": {
"_typeName": "string",
"keyId": "string",
"providerId": {
"_typeName": "string",
"id": "string"
}
},
"success": false,
"reason": "string",
"fault": {
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
}
success
reason
The base data object type for all the object model faults that an application might handle.