Disk Source Image Encryption Key
data class DiskSourceImageEncryptionKey(val kmsKeySelfLink: String? = null, val kmsKeyServiceAccount: String? = null, val rawKey: String? = null, val sha256: String? = null)
Constructors
Link copied to clipboard
fun DiskSourceImageEncryptionKey(kmsKeySelfLink: String? = null, kmsKeyServiceAccount: String? = null, rawKey: String? = null, sha256: String? = null)
Types
Properties
Link copied to clipboard
The self link of the encryption key used to encrypt the disk. Also called KmsKeyName in the cloud console. Your project's Compute Engine System service account (service-{{PROJECT_NUMBER}}@compute-system.iam.gserviceaccount.com
) must have roles/cloudkms.cryptoKeyEncrypterDecrypter
to use this feature. See https://cloud.google.com/compute/docs/disks/customer-managed-encryption#encrypt_a_new_persistent_disk_with_your_own_keys