KeyProperties Class
A key's ID and attributes.
Constructor
KeyProperties(key_id: str, attributes: _models.KeyAttributes | None = None, **kwargs: Any)
Parameters
Name | Description |
---|---|
key_id
Required
|
The key ID. |
attributes
|
<xref:azure.keyvault.keys._generated.models.KeyAttributes>
The key attributes. Default value: None
|
Keyword-Only Parameters
Name | Description |
---|---|
managed
|
Whether the key's lifetime is managed by Key Vault. |
tags
|
Application specific metadata in the form of key-value pairs. |
release_policy
|
The azure.keyvault.keys.KeyReleasePolicy specifying the rules under which the key can be exported. |
Attributes
created_on
enabled
expires_on
exportable
hsm_platform
id
managed
name
not_before
recoverable_days
recovery_level
release_policy
The KeyReleasePolicy specifying the rules under which the key can be exported.
Returns
Type | Description |
---|---|
The key's release policy specifying the rules for exporting. |
tags
updated_on
vault_url
URL of the vault containing the key.
Returns
Type | Description |
---|---|
URL of the vault containing the key. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python