Azure.Security.KeyVault.Keys_4.3.0
4.3.0 (2022-03-24)
Changes from both the last release and the last beta include:
Features Added
-
Added
ExportableandReleasePolicytoCreateKeyOptions,ImportKeyOptions, andKeyPropertiesto support Secure Key Release for Key Vault and Managed HSM. -
Added
GetRandomBytesandGetRandomBytesAsynctoKeyClientto get random bytes from a managed HSM. -
Added
JsonWebKeyConverterto support serializing and deserializing aJsonWebKeyto a RFC 7517 JWK. (#16155) -
Added
KeyClient.GetCryptographyClientto get aCryptographyClientthat uses the same options, policies, and pipeline as theKeyClientthat created it. (#23786) -
Added
KeyReleasePolicy.Immutableproperty. -
Added
KeyRotationPolicyclass and new methods includingKeyClient.GetKeyRotationPolicy,KeyClient.RotateKey, andKeyClient.UpdateKeyRotationPolicy. -
Added
KeyVaultKeyIdentifier.TryCreateto parse key URIs without throwing an exception when invalid. (#23146) -
Added
ReleaseKeyandReleaseKeyAsynctoKeyClientto release a key for Key Vault and Managed HSM. -
Support multi-tenant authentication against Key Vault and Managed HSM when using Azure.Identity 1.5.0 or newer. (#18359)
-
Changed
KeyRotationLifetimeAction.Actionto read-only and added constructor to set theKeyRotationPolicyAction. -
Renamed
nameparameter inGetKeyRotationPolicyandGetKeyRotationPolicyAsynctokeyName. -
Renamed
nameparameter inUpdateKeyRotationPolicyandUpdateKeyRotationPolicyAsynctokeyName.
Bugs Fixed
- The default service version is now "7.3".
- Attempt to cache key locally from
KeyClient.GetCryptographyClient. (#25254) - Added key version to distributed tracing. (#12907)
Breaking Changes
- (Since 4.3.0-beta.7)
KeyClient.ReleaseKeyandReleaseKeyAsyncnow takenameandtargetAttestationToken, or aReleaseKeyOptionswith a requirednameandtargetAttestationTokenalong with additional properties.
Other Changes
KeyProperties.Versionis no longer required when callingKeyClient.UpdateKeyPropertiesorUpdateKeyPropertiesAsync.