# 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:vslm="urn:vslm" name="CryptoManagerKmipCryptoKeyStatus"> <complexContent> <extension base="vslm:DynamicData"> <sequence> <element name="keyId" type="vslm:CryptoKeyId"/> <element name="keyAvailable" type="xsd:boolean" minOccurs="0"/> <element name="reason" type="xsd:string" minOccurs="0"/> <element name="encryptedVMs" type="vslm:ManagedObjectReference" minOccurs="0" maxOccurs="unbounded"/> <element name="affectedHosts" type="vslm:ManagedObjectReference" minOccurs="0" maxOccurs="unbounded"/> <element name="referencedByTags" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>