Reputation: 31
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
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:
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.
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