# Data Object - CryptoManagerKmipCryptoKeyStatus(vim.encryption.CryptoManagerKmip.CryptoKeyStatus)

Returned by
  QueryCryptoKeyStatus
Extends
  DynamicData
See also
  CryptoKeyId, HostSystem, VirtualMachine
Since
  vSphere API 6.7.2

## Data Object Description

Status of a Crypto key

Properties

Name | Type | Description
--- | --- | ---
affectedHosts* | ManagedObjectReference[] to a HostSystem[] | The lists of hosts which use that key as host key
encryptedVMs* | ManagedObjectReference[] to a VirtualMachine[] | The list of VMs which use that key
keyAvailable* | xsd:boolean | If the key is available for crypto operation
keyId | CryptoKeyId | Crypto key Id
reason* | xsd:string | The reason for key not available, valid when keyAvailable is false. KeyUnavailableReason lists the set of supported values.
referencedByTags* | xsd:string[] | The identifier list for the 3rd party who are using the key
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="CryptoManagerKmipCryptoKeyStatus"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="keyId" type="vsan:CryptoKeyId"/> <element name="keyAvailable" type="xsd:boolean" minOccurs="0"/> <element name="reason" type="xsd:string" minOccurs="0"/> <element name="encryptedVMs" type="vsan:ManagedObjectReference" minOccurs="0" maxOccurs="unbounded"/> <element name="affectedHosts" type="vsan:ManagedObjectReference" minOccurs="0" maxOccurs="unbounded"/> <element name="referencedByTags" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>