Condividi tramite


ManagedInstanceKey Class

A managed instance key.

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

Constructor

ManagedInstanceKey(*, server_key_type: str | _models.ServerKeyType | None = None, uri: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
server_key_type

The key type like 'ServiceManaged', 'AzureKeyVault'. Known values are: "ServiceManaged" and "AzureKeyVault".

Default value: None
uri
str

The URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required.

Default value: None

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

kind
str

Kind of encryption protector. This is metadata used for the Azure portal experience.

server_key_type

The key type like 'ServiceManaged', 'AzureKeyVault'. Known values are: "ServiceManaged" and "AzureKeyVault".

uri
str

The URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required.

thumbprint
str

Thumbprint of the key.

creation_date

The key creation date.

auto_rotation_enabled

Key auto rotation opt-in flag. Either true or false.