machineImageEncryptionKey property

CustomerEncryptionKey? machineImageEncryptionKey
getter/setter pair

Encrypts the machine image using a customer-supplied encryption key.

After you encrypt a machine image using a customer-supplied key, you must provide the same key if you use the machine image later. For example, you must provide the encryption key when you create an instance from the encrypted machine image in a future request. Customer-supplied encryption keys do not protect access to metadata of the machine image. If you do not provide an encryption key when creating the machine image, then the machine image will be encrypted using an automatically generated key and you do not need to provide a key to use the machine image later.

Implementation

CustomerEncryptionKey? machineImageEncryptionKey;