4.0.0 (2021-06-17)
- Initial release of
KeyVaultAccessControlClient
andKeyVaultAccessControlAsyncClient
to manage role assignments and definitions for Managed HSM. - Initial release of
KeyVaultBackupClient
andKeyVaultBackupAsyncClient
to backup and restore Managed HSM.
Features Added
- Changed default service version to
7.2
. - Added
KeyVaultKeyIdentifier
to parse key URLs. - Added local-only support for
CryptographyClient
andCryptographyAsyncClient
by providing aJsonWebKey
during client creation. - Added
KeyType.OCT-HSM
to support oct-HSM key operations to support Managed HSM. - Added the
CreateOctKeyOptions
class and associatedcreateOctKey()
methods. - Added AES-GCM and AES-CBC support for encrypting and decrypting, including new
Encrypt
andDecrypt
overloads. - Added the ability to set a public exponent on RSA keys during creation.
- Made all getters for properties of a
JsonWebKey
public.
Changes since 4.0.0-beta.7
Bug Fixes
- Ensured that
RetryPolicy
andHttpLogOptions
use a default implementation when creating Key Vault clients if not set or set tonull
.
Breaking Changes
- Renamed
beginSelectiveRestore()
tobeginSelectiveKeyRestore()
inKeyVaultBackupClient
andKeyVaultBackupAsyncClient
. Made the aforementioned operation return the newKeyVaultSelectiveKeyRestoreOperation
instead of aKeyVaultRestoreOperation
. - Changed the final return type of
beginRestore()
andbeginSelectiveKeyRestore()
's poller types fromVoid
to the newKeyVaultRestoreResult
andKeyVaultSelectiveKeyRestoreResult
, respectively. KeyVaultBackupClient
andKeyVaultBackupAsyncClient
's long-running operations now throw aRuntimeException
when cancellation is attempted, as it is not currently supported.- Made
KeyVaultRoleDefinition
flat, as opposed to it having aKeyVaultRoleDefinitionProperties
member with more properties inside of it. - Moved
roleScope
fromKeyVaultRoleAssignment
toKeyVaultRoleAssignmentProperties
and renamed it toscope
. - Moved
SetRoleDefinitionOptions
from theoptions
package to themodels
package. - Removed
roleType
fromSetRoleDefinitionOptions
. - Removed service method overloads that take a
pollingInterval
, sincePollerFlux
andSyncPoller
objects allow for setting this value directly on them. - Delete methods on the
KeyVaultAccessControlClient
now return avoid
orMono<Void>
and ignore HTTP404
s. - Renamed
jobId
andgetJobId()
tooperationId
andgetOperationId()
inKeyVaultLongRunningOperation
and its children classes. - Made the following classes
final
:KeyVaultDataAction
KeyVaultRoleDefinitionType
KeyVaultRoleType
SetRoleDefinitionOptions