Class EncryptionInfo (3.28.0)

EncryptionInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Encryption information for a Cloud Spanner database or backup.

Attributes

NameDescription
encryption_type google.cloud.spanner_admin_database_v1.types.EncryptionInfo.Type
Output only. The type of encryption.
encryption_status google.rpc.status_pb2.Status
Output only. If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.
kms_key_version str
Output only. A Cloud KMS key version that is being used to protect the database or backup.

Classes

Type

Type(value)

Possible encryption types.

Values: TYPE_UNSPECIFIED (0): Encryption type was not specified, though data at rest remains encrypted. GOOGLE_DEFAULT_ENCRYPTION (1): The data is encrypted at rest with a key that is fully managed by Google. No key version or status will be populated. This is the default state. CUSTOMER_MANAGED_ENCRYPTION (2): The data is encrypted at rest with a key that is managed by the customer. The active version of the key. kms_key_version will be populated, and encryption_status may be populated.