KeyReleasePolicy Class

The policy rules under which a key can be exported.

Inheritance
builtins.object
KeyReleasePolicy

Constructor

KeyReleasePolicy(encoded_policy: bytes, **kwargs: Any)

Parameters

Name Description
encoded_policy
Required

The policy rules under which the key can be released. Encoded based on the content_type. For more information regarding release policy grammar, please refer to: https://aka.ms/policygrammarkeys for Azure Key Vault; https://aka.ms/policygrammarmhsm for Azure Managed HSM.

Keyword-Only Parameters

Name Description
content_type
str

Content type and version of the release policy. Defaults to "application/json; charset=utf-8" if omitted.

immutable

Marks a release policy as immutable. An immutable release policy cannot be changed or updated after being marked immutable. Release policies are mutable by default.