访问策略不可用

huangapple go评论72阅读模式
英文:

Access policies not available

问题

我正在尝试输入Azure密钥保管库中的访问策略,但我收到了以下消息:

"访问策略不可用。
此密钥保管库的访问配置设置为基于角色的访问控制。要添加或管理您的访问策略,请转到访问控制(IAM)页面。在Azure中,我如何输入访问策略"

我已经添加了角色分配,如下所示:

  • "Key Vault Secrets User"
  • "App Compliance Automation Administrator"
    但没有生效。
    如何访问访问策略?
英文:

I am trying to enter the access policies in Azure Key Vault, but I am getting the message

"Access policies not available.
The access configuration for this key vault is set to role-based access control. To add or manage your access policies, go to the Access control (IAM) page. in azure , how can i enter the access policies"

i already add role assignment like "
Key Vault Secrets User
" "App Compliance Automation Administrator
" but no work.
how can i access the Access policies

答案1

得分: 7

有两种授权访问 Azure Key Vault 数据的方式 - 推荐的是使用 Azure RBAC 角色,或者使用 Azure Key Vault 访问策略。这两种授权模式不能同时使用。

由于您当前已启用了基于 Azure RBAC 的授权,因此无法设置基于访问策略的授权(实际上,在这种情况下,访问策略甚至不适用)。

如果您想要使用访问策略,您需要切换权限模式。要这样做,请在 Azure 门户中的 Key Vault 详细信息页面中单击 "Access Configuration" 并进行切换。

英文:

There are two ways of authorizing access to Azure Key Vault data - either using Azure RBAC roles (recommended) or using Azure Key Vault Access Policies. You cannot combine these authorization modes.

Since you have currently enabled Azure RBAC based authorization, you cannot set access policies based authorization (in fact, access policies are not even applicable in this case).

If you want to use access policies, you will need to switch the permission mode. To do so, click on "Access Configuration" in Key Vault details page in Azure Portal and make the switch.

访问策略不可用

huangapple
  • 本文由 发表于 2023年5月25日 01:17:54
  • 转载请务必保留本文链接:https://go.coder-hub.com/76325987.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定