Azure Key Vault - can't get, create, or list secrets

1.9k views Asked by At

Cannot create, get, or even list secrets in my key vault. I own the subscription and I have changed to RABC permissions. I have given myself Key vault user, reader, owner, and officer and have waited for 30 minutes to allow perms to propagate. I am missing something and I have googled for a bit for posting here. Any suggestions on which RBACs are needed and how long the perms take to propagate. Thanks

2

There are 2 answers

0
Pat Garvey On

Ooops, I just found out that I have TWO users with the same name and different email addresses. This was the issue -- it takes almost no time for the permissions to propagate. And don't name two users the same name! Sorry...

2
Carlos Garcia On

You need to set RBAC Access Policies: enter image description here

Make sure your network setup is correct:

enter image description here

These are the lists of RBAC available roles. Subscription owner is not enough to read the secrets, you need the KeyVault specific roles (which I think you are already configuring)

link: https://learn.microsoft.com/en-us/azure/key-vault/general/rbac-guide?tabs=azure-cli#azure-built-in-roles-for-key-vault-data-plane-operations