# Enum - VirtualMachineCryptoState(vim.VirtualMachine.CryptoState)

Since
  vSphere API 6.7

## Enum Description

The crypto state of a encrypted virtual machine.

Enum Constants

Name | Description
--- | ---
locked | The virtual machine is in locked state for the configuration key missing on the ESX host where the VM is registered.
unlocked | The virtual machine is in unlocked state.

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VirtualMachineCryptoState"> <restriction base="xsd:string"> <enumeration value="unlocked"/> <enumeration value="locked"/> </restriction> </simpleType>