【发布时间】:2020-07-16 15:06:12
【问题描述】:
我们正在将 Azure Key 保管库导出到 ARM 模板。但是我们收到一条警告:
Microsoft.KeyVault/vaults/accessPolicies 还不能导出,并且是 不包含在模板中。查看错误详情。
原始错误:
{
"code": "ExportTemplateCompletedWithErrors",
"message": "Export template operation completed with errors. Some resources were not exported. Please see details for more information.",
"details": [
{
"code": "ExportTemplateProviderError",
"target": "Microsoft.KeyVault/vaults/accessPolicies",
"message": "Could not get resources of the type 'Microsoft.KeyVault/vaults/accessPolicies'. Resources of this type will not be exported."
}
]
}
奇怪的是,模板中有一个完整的accessPolicies 部分与Access policies 选项卡下的当前设置相匹配。究竟是什么没有导出?
【问题讨论】:
-
对此问题还有其他顾虑吗?
-
@JoyWang 是的 - 如果导出访问策略,为什么会出现警告?
-
不确定,您可能需要向 MSFT 发送支持票证。我只能告诉你,模板不影响使用。
-
@JoyWang 模板是什么意思,不影响使用。导出模板的原因是为了使用它们来创建资源。模板是正在使用的所有内容。
标签: azure azure-keyvault