github Azure/azure-sdk-for-js @azure/keyvault-keys_4.4.0

latest releases: @azure-rest/ai-translation-document_1.0.0, @azure/core-rest-pipeline_1.18.0, @azure/template_1.0.12-beta.4315317...
2 years ago

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 and releasePolicy to KeyVaultKey.properties, createKeyOptions, and importKeyOptions in order to specify whether the key is exportable and to associate a release policy to a given key.
  • 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 support for KeyClient.getCryptographyClient(keyName, options) which provides a simple way to create a CryptographyClient for a given key (identified by its name).
    • An optional keyVersion property may be used in the options parameter to create a cryptography client targeting a specific key version. The latest version is used by default.

Other Changes

  • This release updates KeyClient and CryptographyClient to support service version 7.3 by default.

Don't miss a new azure-sdk-for-js release

NewReleases is sending notifications on new releases.