Skip to content

azure-security-keyvault-keys_4.4.0-beta.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@azure-sdk azure-sdk released this 07 Oct 17:44
2727070

4.4.0-beta.4 (2021-10-07)

Features Added

  • Added new functions to key clients to enable key rotation:
    • KeyClient
      • rotateKey(String name)
      • rotateKeyWithResponse(String name, Context context)
      • getKeyRotationPolicy(String name)
      • getKeyRotationPolicyWithResponse(String name, Context context)
      • updateKeyRotationPolicy(String name, KeyRotationPolicyProperties keyRotationPolicyProperties)
      • updateKeyRotationPolicyWithResponse(String name, KeyRotationPolicyProperties keyRotationPolicyProperties, Context context)
    • KeyAsyncClient
      • rotateKey(String name)
      • rotateKeyWithResponse(String name)
      • getKeyRotationPolicy(String name)
      • getKeyRotationPolicyWithResponse(String name)
      • updateKeyRotationPolicy(String name, KeyRotationPolicyProperties keyRotationPolicyProperties)
      • updateKeyRotationPolicyWithResponse(String name, KeyRotationPolicyProperties keyRotationPolicyProperties)
  • Added convenience methods to create cryptography clients using key clients:
    • KeyClient.getCryptographyClient(String keyName)
    • KeyClient.getCryptographyClient(String keyName, String keyVersion)
    • KeyAsyncClient.getCryptographyAsyncClient(String keyName)
    • KeyAsyncClient.getCryptographyAsyncClient(String keyName, String keyVersion)
  • CryptographyClientBuilder does not require keyIdentifier to a include a key version. If no version is provided, cryptographic operations will be made using the latest version of the key.

Bugs Fixed

  • Fixed an issue that made clients send unnecessary unauthorized requests to obtain a bearer challenge from the service even when already possessing a valid bearer token.
  • Fixed issue that prevented creating a CryptographyClient or CryptographyAsyncClient with a key identifier that does not contain a key version.
  • Fixed issue that made createOctKey() operations ignore a keySize set in CreateOctKeyOptions, making said keys be created with the default service key size instead.

Other Changes

Dependency Updates

  • Upgraded azure-core dependency to 1.21.0
  • Upgraded azure-core-http-netty dependency to 1.11.1