Class DiskSourceImageEncryptionKeyArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Compute.Inputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class DiskSourceImageEncryptionKeyArgs : ResourceArgs
Constructors
View SourceDiskSourceImageEncryptionKeyArgs()
Declaration
public DiskSourceImageEncryptionKeyArgs()
Properties
View SourceKmsKeySelfLink
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
Declaration
public Input<string> KmsKeySelfLink { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RawKey
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
Declaration
public Input<string> RawKey { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Sha256
The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
Declaration
public Input<string> Sha256 { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |