You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/KeyVault/KeyVault/ChangeLog.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@
18
18
- Additional information about change #1
19
19
-->
20
20
## Upcoming Release
21
+
*[Breaking Change] Changed parameter `SoftDeleteRetentionInDays` in `New-AzKeyVaultManagedHsm` to mandatory.
21
22
22
23
## Version 4.12.0
23
24
* Supported splitting `Import-AzKeyVaultSecurityDomain` process into three steps to allow keys to be hidden offline.
@@ -41,7 +42,7 @@
41
42
42
43
## Version 4.10.0
43
44
* Added breaking change announcement for parameter `SoftDeleteRetentionInDays` in `New-AzKeyVaultManagedHsm`. The parameter `SoftDeleteRetentionInDays` is becoming mandatory
44
-
- This change will take effect on version 6.0.0
45
+
- This change will take effect on version 5.0.0
45
46
* Changed the encoding way from a string into byte array in `Invoke-AzKeyVaultKeyOperation` from ASCII to UTF8. UTF8 is backward-compatible with ASCII. [#21269]
46
47
* Bug fix: Changed the decoding way from byte array into a string from system default encoding to UTF8 to match encoding way. [#21269]
47
48
* Added parameter `PolicyPath` and `PolicyObject` in `Import-AzKeyVaultCertificate` to support custom policy [#20780]
@@ -81,8 +81,8 @@ public class NewAzureManagedHsm : KeyVaultManagementCmdletBase
81
81
[PSArgumentCompleter("StandardB1","CustomB32")]
82
82
publicstringSku{get;set;}
83
83
84
-
[Parameter(Mandatory=false,
85
-
HelpMessage="Specifies how long the deleted managed hsm pool is retained, and how long until the managed hsm pool in the deleted state can be purged. The default is "+Constants.DefaultSoftDeleteRetentionDaysString+" days.")]
84
+
[Parameter(Mandatory=true,
85
+
HelpMessage="Specifies how long the deleted managed hsm pool is retained, and how long until the managed hsm pool in the deleted state can be purged.")]
specifying whether protection against purge is enabled for this managed HSM pool. The setting is effective only if soft delete is also enabled. Enabling this functionality is irreversible.
Specifies how long the deleted managed hsm pool is retained, and how long until the managed hsm pool in the deleted state can be purged. The default is 90 days.
218
+
Specifies how long the deleted managed hsm pool is retained, and how long until the managed hsm pool in the deleted state can be purged.
205
219
206
220
```yaml
207
-
Type: System.Int32
221
+
Type: Int32
208
222
Parameter Sets: (All)
209
223
Aliases:
210
224
211
-
Required: False
225
+
Required: True
212
226
Position: Named
213
227
Default value: None
214
228
Accept pipeline input: False
@@ -221,7 +235,7 @@ By default, cmdlets are executed in the subscription that is set in the current
221
235
Overriding subscriptions only take effect during the lifecycle of the current cmdlet. It does not change the subscription in the context, and does not affect subsequent cmdlets.
"Az.KeyVault","Microsoft.Azure.Commands.KeyVault.AddAzureKeyVaultCertificateContact","Add-AzKeyVaultCertificateContact","0","3010","The property 'IpRules' of type 'Microsoft.Azure.Management.KeyVault.Models.NetworkRuleSet' has been removed.","Add the property 'IpRules' back to type 'Microsoft.Azure.Management.KeyVault.Models.NetworkRuleSet'."
3
3
"Az.KeyVault","Microsoft.Azure.Commands.KeyVault.AddAzureKeyVaultKey","Add-AzKeyVaultKey","0","3010","The property 'IpRules' of type 'Microsoft.Azure.Management.KeyVault.Models.MhsmNetworkRuleSet' has been removed.","Add the property 'IpRules' back to type 'Microsoft.Azure.Management.KeyVault.Models.MhsmNetworkRuleSet'."
4
-
"Az.KeyVault","Microsoft.Azure.Commands.KeyVault.SecurityDomain.Cmdlets.RestoreSecurityDomain","Import-AzKeyVaultSecurityDomain","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Import-AzKeyVaultSecurityDomain' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Import-AzKeyVaultSecurityDomain'."
4
+
"Az.KeyVault","Microsoft.Azure.Commands.KeyVault.SecurityDomain.Cmdlets.RestoreSecurityDomain","Import-AzKeyVaultSecurityDomain","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Import-AzKeyVaultSecurityDomain' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Import-AzKeyVaultSecurityDomain'."
5
+
"Az.KeyVault","Microsoft.Azure.Commands.KeyVault.Commands.NewAzureManagedHsm","New-AzKeyVaultManagedHsm","0","1050","The parameter set '__AllParameterSets' for cmdlet 'New-AzKeyVaultManagedHsm' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'New-AzKeyVaultManagedHsm'."
0 commit comments