Allow cert's custom policy for Import-AzKeyVaultCertificate cmdlet to be consistent with Azure CLI #20780
Labels
feature-request
This issue requires a new behavior in the product in order be resolved.
KeyVault
Tracking
We will track status and follow internally
Description
Currently the "Import-AzKeyVaultCertificate" cmdlet does not allow a customer to import a certificate with a custom certificate's policy. The Key Vault API for Certificate Import allows the policy as part of the request's body and also, on Azure CLI you're allowed to import while inputting your own policy in JSON format: "az keyvault certificate import --policy @policy.json", however, that can't be done on PSH.
Issue script & Debug output
N/A
Environment data
N/A
Module versions
Error output
No response
The text was updated successfully, but these errors were encountered: