Skip to content

Commit 91642e8

Browse files
authored
[keyvault] Add support for 7.6-preview-2 (#32947)
### Packages impacted by this PR @azure/keyvault-admin @azure/keyvault-certificates @azure/keyvault-keys @azure/keyvault-secrets ### Issues associated with this PR ### Describe the problem that is addressed by this PR Regenerates the KeyVault SDKs for 7.6-preview.2 service version. The following changes have been made: #### KeyVault Admin - Changed to 7.6-preview.2 as the default service version - Added beginPreBackup and beginPreRestore operations to BackupClient - Backwards compatibility maintained by smoothing over `null` responses and representing them as `undefined` #### KeyVault Certificates - Changed to 7.6-preview.2 as the default service version - Added support for a new parameter `preserveCertificateOrder` #### KeyVault Keys - Changed to 7.6-preview.2 as the default service version - Added support for a few new crypto algorithms - Added `GetKeyAttestation` support for KeyClient #### KeyVault Secrets - Changed to 7.6-preview.2 as the default service version
1 parent afdde28 commit 91642e8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+3126
-1824
lines changed

common/config/rush/pnpm-lock.yaml

+58-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/keyvault/keyvault-admin/CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22

33
# Release History
44

5-
## 4.6.1 (Unreleased)
5+
## 4.7.0-beta.1 (Unreleased)
66

77
### Features Added
88

9+
- Added support for service API version `7.6-preview.2`. [#32947](https://github.com/Azure/azure-sdk-for-js/pull/32947)
10+
- Added `KeyVaultBackupClient.beginPreBackup` and `KeyVaultBackupClient.beginPreRestore` methods for checking if it is possible to perform a full key backup or full key restore. [#32947](https://github.com/Azure/azure-sdk-for-js/pull/32947)
11+
912
### Breaking Changes
1013

1114
### Bugs Fixed

sdk/keyvault/keyvault-admin/assets.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "js",
44
"TagPrefix": "js/keyvault/keyvault-admin",
5-
"Tag": "js/keyvault/keyvault-admin_46c9877128"
5+
"Tag": "js/keyvault/keyvault-admin_8cf3e9fa4a"
66
}

sdk/keyvault/keyvault-admin/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@azure/keyvault-admin",
33
"sdk-type": "client",
44
"author": "Microsoft Corporation",
5-
"version": "4.6.1",
5+
"version": "4.7.0-beta.1",
66
"license": "MIT",
77
"description": "Isomorphic client library for Azure KeyVault's administrative functions.",
88
"homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-admin/README.md",

sdk/keyvault/keyvault-admin/review/keyvault-admin.api.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ export class KeyVaultBackupClient {
8282
constructor(vaultUrl: string, credential: TokenCredential, options?: KeyVaultBackupClientOptions);
8383
beginBackup(blobStorageUri: string, sasToken: string, options?: KeyVaultBeginBackupOptions): Promise<PollerLike<KeyVaultBackupOperationState, KeyVaultBackupResult>>;
8484
beginBackup(blobStorageUri: string, options?: KeyVaultBeginBackupOptions): Promise<PollerLike<KeyVaultBackupOperationState, KeyVaultBackupResult>>;
85+
beginPreBackup(blobStorageUri: string, sasToken: string, options?: KeyVaultBeginPreBackupOptions): Promise<PollerLike<KeyVaultBackupOperationState, KeyVaultBackupResult>>;
86+
beginPreBackup(blobStorageUri: string, options?: KeyVaultBeginPreBackupOptions): Promise<PollerLike<KeyVaultBackupOperationState, KeyVaultBackupResult>>;
87+
beginPreRestore(folderUri: string, sasToken: string, options?: KeyVaultBeginPreRestoreOptions): Promise<PollerLike<KeyVaultRestoreOperationState, KeyVaultRestoreResult>>;
88+
beginPreRestore(folderUri: string, options?: KeyVaultBeginPreRestoreOptions): Promise<PollerLike<KeyVaultRestoreOperationState, KeyVaultRestoreResult>>;
8589
beginRestore(folderUri: string, sasToken: string, options?: KeyVaultBeginRestoreOptions): Promise<PollerLike<KeyVaultRestoreOperationState, KeyVaultRestoreResult>>;
8690
beginRestore(folderUri: string, options?: KeyVaultBeginRestoreOptions): Promise<PollerLike<KeyVaultRestoreOperationState, KeyVaultRestoreResult>>;
8791
beginSelectiveKeyRestore(keyName: string, folderUri: string, sasToken: string, options?: KeyVaultBeginSelectiveKeyRestoreOptions): Promise<PollerLike<KeyVaultSelectiveKeyRestoreOperationState, KeyVaultSelectiveKeyRestoreResult>>;
@@ -115,6 +119,14 @@ export interface KeyVaultBackupResult {
115119
export interface KeyVaultBeginBackupOptions extends KeyVaultBackupPollerOptions {
116120
}
117121

122+
// @public
123+
export interface KeyVaultBeginPreBackupOptions extends KeyVaultBackupPollerOptions {
124+
}
125+
126+
// @public
127+
export interface KeyVaultBeginPreRestoreOptions extends KeyVaultBackupPollerOptions {
128+
}
129+
118130
// @public
119131
export interface KeyVaultBeginRestoreOptions extends KeyVaultBackupPollerOptions {
120132
}
@@ -245,7 +257,7 @@ export enum KnownKeyVaultRoleScope {
245257
}
246258

247259
// @public
248-
export const LATEST_API_VERSION = "7.5";
260+
export const LATEST_API_VERSION = "7.6-preview.2";
249261

250262
// @public
251263
export interface ListRoleAssignmentsOptions extends OperationOptions {
@@ -313,7 +325,7 @@ export interface SettingsClientOptions extends ClientOptions {
313325
}
314326

315327
// @public
316-
export type SUPPORTED_API_VERSIONS = "7.2" | "7.3" | "7.4" | "7.5";
328+
export type SUPPORTED_API_VERSIONS = "7.2" | "7.3" | "7.4" | "7.5" | "7.6-preview.2";
317329

318330
// @public
319331
export interface UpdateSettingOptions extends OperationOptions {

0 commit comments

Comments
 (0)