2024-11-01 API version for Azure Managed HSM #30756
Labels
Auto-Assign
Auto assign by bot
Azure CLI Team
The command of the issue is owned by Azure CLI team
feature-request
KeyVault
az keyvault
Possible-Solution
Similar-Issue
Milestone
Related command
I am a part of the Azure Managed HSM team. When creating a new Managed HSM resource using az keyvault create, the SKU defaults to the B family, irrespective of the SKU name specified. This is not correct since we have certain SKUs in the C family.
Source Code
Is your feature request related to a problem? Please describe.
az keyvault create --hsm-name "test" --resource-group "test" --sku Custom_C42
Describe the solution you'd like
The new SKUs are included in the Microsoft.KeyVault 2024-11-01 API version. Azure CLI should use this API version.
Additional context
These are all of the valid Managed HSM SKUs:
B SKU family: Standard_B1, Custom_B32, Custom_B6
C SKU family: Custom_C42, Custom_C10
For Custom_C42 and Custom_C10, the SKU family passed to ARM should be C instead of B.
This can be determined by checking the letter following the underscore in the SKU name.
The text was updated successfully, but these errors were encountered: