当我使用 Azure Key Vault 管理 REST API 或命令
Add-AzureRmKeyVaultNetworkRule
允许虚拟网络访问密钥保管库时,我遇到以下错误:The client '{guid}' with object id '{guid}' does not have authorization to perform
action 'microsoft.network/virtualnetworks/taggedTrafficConsumers/validate/action'
over scope '/subscriptions/{guid}/resourcegroups/{resource-group}/providers/microsoft.network/virtualnetworks/{vnet-name}/taggedTrafficConsumers/Microsoft.KeyVault'
有什么问题吗?
Register-AzResourceProvider -ProviderNamespace Microsoft.KeyVault
对于 Azure CLI 用户,更新为:az provider register --namespace Microsoft.KeyVault
- Christoph Vollmann