EncryptionProtector Class
The server encryption protector.
Variables are only populated by the server, and will be ignored when sending a request.
Constructor
EncryptionProtector(*, server_key_name: str | None = None, server_key_type: str | ServerKeyType | None = None, auto_rotation_enabled: bool | None = None, **kwargs)
Parameters
| Name | Description |
|---|---|
|
server_key_name
Required
|
The name of the server key. |
|
server_key_type
Required
|
str or
ServerKeyType
The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: "ServiceManaged", "AzureKeyVault". |
|
auto_rotation_enabled
Required
|
Key auto rotation opt-in flag. Either true or false. |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
server_key_name
|
Default value: None
|
|
server_key_type
|
Default value: None
|
|
auto_rotation_enabled
|
Default value: None
|
Variables
| Name | Description |
|---|---|
|
id
|
Resource ID. |
|
name
|
Resource name. |
|
type
|
Resource type. |
|
kind
|
Kind of encryption protector. This is metadata used for the Azure portal experience. |
|
location
|
Resource location. |
|
subregion
|
Subregion of the encryption protector. |
|
uri
|
The URI of the server key. |
|
thumbprint
|
Thumbprint of the server key. |