# Data Object - CryptoKeyId(vim.encryption.CryptoKeyId)

Property of
  CryptoKeyPlain, CryptoKeyResult, CryptoSpecDeepRecrypt, CryptoSpecEncrypt, CryptoSpecRegister, CryptoSpecShallowRecrypt, HostRuntimeInfo, ToolsConfigInfo, VirtualDiskFlatVer2BackingInfo, VirtualDiskSeSparseBackingInfo, VirtualDiskSparseVer2BackingInfo, VirtualMachineConfigInfo, VmConfigFileEncryptionInfo, VmDiskFileEncryptionInfo
Parameter to
  ConfigureCryptoKey, RemoveKey, RemoveKeys
Returned by
  ListKeys
Extends
  DynamicData
See also
  KeyProviderId
Since
  vSphere API 6.5

## Data Object Description

Data Object representing a cryptographic key.

Properties

Name | Type | Description
--- | --- | ---
keyId | xsd:string | Unique key ID. When creating a key may be replaced with the ID generated by the KMS server.
providerId* | KeyProviderId | The provider holding the key data. May be ignored if the key is known to be stored in another provider.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="CryptoKeyId"> <complexContent> <extension base="pbm:DynamicData"> <sequence> <element name="keyId" type="xsd:string"/> <element name="providerId" type="pbm:KeyProviderId" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>