EncryptionService Class

A service that allows server-side encryption to be used.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.storage._serialization.Model
EncryptionService

Constructor

EncryptionService(*, enabled: bool | None = None, key_type: str | _models.KeyType | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
enabled

A boolean indicating whether or not the service encrypts the data as it is stored. Encryption at rest is enabled by default today and cannot be disabled.

key_type

Encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used. Known values are: "Service" and "Account".

Variables

Name Description
enabled

A boolean indicating whether or not the service encrypts the data as it is stored. Encryption at rest is enabled by default today and cannot be disabled.

last_enabled_time

Gets a rough estimate of the date/time when the encryption was last enabled by the user. Data is encrypted at rest by default today and cannot be disabled.

key_type

Encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used. Known values are: "Service" and "Account".