github Azure/azure-sdk-for-java azure-security-keyvault-keys_4.4.0-beta.4

latest releases: azure-core-tracing-opentelemetry_1.0.0-beta.51, azure-core-test_1.27.0-beta.3, azure-core-serializer-json-jackson_1.5.3...
pre-release3 years ago

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

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

NewReleases is sending notifications on new releases.