4.4.0 (2022-03-24)
Features Added
- Added support for
KeyClient.getRandomBytes
which, when connected to a managed HSM, can be used to generate a byte array of a given length with random values. - Added support for Secure key Release from a Managed HSM.
- Added
KeyClient.releaseKey
to release a key from a Managed HSM. - Added
exportable
andreleasePolicy
toKeyVaultKey.properties
,createKeyOptions
, andimportKeyOptions
in order to specify whether the key is exportable and to associate a release policy to a given key.
- Added
- Added support for automated key rotation in Azure Key Vault and Managed HSM.
- Added
KeyClient.rotateKey
to rotate a key on-demand. - Added
KeyClient.updateKeyRotationPolicy
to update a key's automated rotation policy.
- Added
- Added support for
KeyClient.getCryptographyClient(keyName, options)
which provides a simple way to create aCryptographyClient
for a given key (identified by its name).- An optional
keyVersion
property may be used in theoptions
parameter to create a cryptography client targeting a specific key version. The latest version is used by default.
- An optional
Other Changes
- This release updates
KeyClient
andCryptographyClient
to support service version 7.3 by default.