4.0.0 (2021-06-15)
This release marks the general availability of the @azure/keyvault-admin
package.
New Features
- The
KeyVaultAccessControlClient
provides support for managing role-based access control (RBAC) operations.- Both role assignments and custom role definitions are supported with the ability to create, read, update, and delete custom role definitions and assignments.
- The
KeyVaultBackupClient
provides support for back up and restore operations for the entire Key Vault Managed HSM instance.- Full Managed HSM backup and restore operations are supported.
- Selective Key Restore from a previous backup is also supported.
Changes since 4.0.0-beta.3:
- Added the "KeyVault" prefix to all of the Key Vault Admin client operations.
- Made the AesGcmDecryptParameters authenticationTag required.
- Collapsed
KeyVaultRoleAssignmentPropertiesWithScope
toKeyVaultRoleAssignmentProperties
. - Renamed
KeyVaultKeyId
toKeyVaultKeyIdentifier
. - Renamed
beginRestore
'sblobStorageUri
tofolderUri
. - Removed
folderName
frombeginRestore
. Now the folder name will be inferred from thefolderUri
. - Renamed
beginSelectiveRestore
'sblobStorageUri
tofolderUri
. - Removed
folderName
frombeginSelectiveRestore
. Now the folder name will be inferred from thefolderUri
. - Reordered the parameters of
beginSelectiveRestore
tokeyName
,folderUrl
,sasToken
,[options]
. - Renamed
KeyVaultBackupResult
'sbackupFolderUri
tofolderUri
. - Renamed
beginSelectiveRestore
tobeginSelectiveKeyRestore
. - Renamed
KeyVaultBeginSelectiveRestoreOptions
toKeyVaultBeginSelectiveKeyRestoreOptions
. - Renamed
KeyVaultSelectiveRestoreOperationState
toKeyVaultSelectiveKeyRestoreOperationState
. - Renamed
KeyVaultSelectiveRestoreResult
toKeyVaultSelectiveKeyRestoreResult
. deleteRoleAssignment
anddeleteRoleDefinition
will no longer throw an exception when the resource no longer exist and return no result.