MANSI
MANSI

Reputation: 31

Azure Key Vault permission issue

Access policy screenshot The user,group or application ;appid=a9bf70ea978d0;oid=a9cb326;iss=https://sts.windows.net/14-e16e****6cacee8; does not have secrets list permission on key vault #39;tds;location=centralindia;t permission on key vault?

I'm getting this error.I have created created access policy for list and get secrets from vault.

Upvotes: 0

Views: 930

Answers (1)

RamaraoAdapa
RamaraoAdapa

Reputation: 3137

I have tested in my environment.

I logged into Azure CLI with my service principal which does not have access to key vault.

I tried to list the secrets in the key vault and got the same error as yours:

enter image description here

I logged out and again logged in with my account which has access to list the secrets in the key vault.

I am able to list the secrets successfully.

enter image description here

You can log in to Azure CLI with your account which has key vault secrets list permission and list the secrets.

You would be able to list the secrets successfully

Upvotes: 0

Related Questions