Share via


ServerKey Class

A PostgreSQL Server key.

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

Constructor

ServerKey(*, server_key_type: str | ServerKeyType | None = None, uri: str | None = None, **kwargs)

Parameters

Name Description
server_key_type
Required

The key type like 'AzureKeyVault'. Possible values include: "AzureKeyVault".

uri
Required
str

The URI of the key.

Keyword-Only Parameters

Name Description
server_key_type
Default value: None
uri
Default value: None

Variables

Name Description
id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

kind
str

Kind of encryption protector used to protect the key.

creation_date

The key creation date.