EncryptionService interface

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

Properties

enabled

A boolean indicating whether or not the service encrypts the data as it is stored.

keyType

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.

lastEnabledTime

Gets a rough estimate of the date/time when the encryption was last enabled by the user. Only returned when encryption is enabled. There might be some unencrypted blobs which were written after this time, as it is just a rough estimate. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

enabled

A boolean indicating whether or not the service encrypts the data as it is stored.

enabled?: boolean

Property Value

boolean

keyType

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.

keyType?: string

Property Value

string

lastEnabledTime

Gets a rough estimate of the date/time when the encryption was last enabled by the user. Only returned when encryption is enabled. There might be some unencrypted blobs which were written after this time, as it is just a rough estimate. NOTE: This property will not be serialized. It can only be populated by the server.

lastEnabledTime?: Date

Property Value

Date