Google Cloud Spanner Database Administration v1 API - Class EncryptionConfig (4.6.0)

public sealed class EncryptionConfig : IMessage<EncryptionConfig>, IEquatable<EncryptionConfig>, IDeepCloneable<EncryptionConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Spanner Database Administration v1 API class EncryptionConfig.

Encryption configuration for a Cloud Spanner database.

Inheritance

object > EncryptionConfig

Namespace

Google.Cloud.Spanner.Admin.Database.V1

Assembly

Google.Cloud.Spanner.Admin.Database.V1.dll

Constructors

EncryptionConfig()

public EncryptionConfig()

EncryptionConfig(EncryptionConfig)

public EncryptionConfig(EncryptionConfig other)
Parameter
NameDescription
otherEncryptionConfig

Properties

KmsKeyName

public string KmsKeyName { get; set; }

The Cloud KMS key to be used for encrypting and decrypting the database. Values are of the form projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>.

Property Value
TypeDescription
string

KmsKeyNameAsCryptoKeyName

public CryptoKeyName KmsKeyNameAsCryptoKeyName { get; set; }

CryptoKeyName-typed view over the KmsKeyName resource name property.

Property Value
TypeDescription
CryptoKeyName