Skip to content

Commit f5d92a4

Browse files
authored
The offline fallback policy will be removed (#24674)
1 parent 5ab5143 commit f5d92a4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/KeyVault/KeyVault/ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* [Upcoming Breaking Change] Added breaking change warning message for parameter `UseDefaultCVMPolicy` of `Add-AzKeyVaultKey`.
22+
- The offline fallback policy will be removed. Key creation will fail if unable to get regional default CVM SKR policy from MAA Service Discovery API.
2123
* Added parameter `PolicyPath` in `Add-AzKeyVaultCertificate` to support custom policy in the process of certificate enrollment.
2224
* Upgraded the API version of merging certificate to 7.5. [#24323]
2325

src/KeyVault/KeyVault/Commands/Key/AddAzureKeyVaultKey.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
2121
using Microsoft.Azure.KeyVault.WebKey;
2222
using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
23+
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
2324
using Microsoft.WindowsAzure.Commands.Utilities.Common;
2425

2526
using System;
@@ -375,6 +376,7 @@ public class AddAzureKeyVaultKey : KeyVaultCmdletBase
375376
ParameterSetName = ResourceIdCreateParameterSet)]
376377
public string ReleasePolicyPath { get; set; }
377378

379+
[CmdletParameterBreakingChangeWithVersion(nameof(UseDefaultCVMPolicy), "12.0.0", "6.0.0", ChangeDescription = "The offline fallback policy will be removed. Key creation will fail if unable to get regional default CVM SKR policy from MAA Service Discovery API.")]
378380
[Parameter(Mandatory = false,
379381
ParameterSetName = HsmInteractiveCreateParameterSet,
380382
HelpMessage = "Specifies to use default policy under which the key can be exported for CVM disk encryption.")]

0 commit comments

Comments
 (0)