-
Notifications
You must be signed in to change notification settings - Fork 4k
Error while creating key on Managed HSM with -UseDefaultCVMPolicy #27249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It's mostly because we need to use the |
I replaced -VaultName with -HsmName and I am getting a similar error: Add-AzKeyVaultKey -HsmName $hsmName -Name testpowershell -KeyType RSA -Exportable -Size 3072 -UseDefaultCVMPolicy HTTP Method: Absolute Uri: Headers: Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Headers: Body: DEBUG: 11:31:49 AM - [ConfigManager] Got nothing from [EnableErrorRecordsPersistence], Module = [Az.KeyVault], Cmdlet = [Add-AzKeyVaultKey]. Returning default value [False]. |
Uh oh!
There was an error while loading. Please reload this page.
Description
I'm having trouble creating a key on a Managed HSM using the default release policy. I am following this documentation:
https://learn.microsoft.com/en-us/powershell/module/az.keyvault/add-azkeyvaultkey?view=azps-13.2.0&viewFallbackFrom=azps-13.0.0
Issue script & Debug output
Environment data
Module versions
Error output
The text was updated successfully, but these errors were encountered: