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

latest releases: @azure/identity_4.5.0-beta.3, @azure/openai_1.0.0-beta.13, @azure/openai-assistants_1.0.0-beta.6...
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.