Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2023 10:47 AM
@KS LAU :
It seems that the error message is indicating that the user, group, or application that you are using does not have permission to list the keys in the Azure Key Vault.
You mentioned that you were able to retrieve secrets stored in the same Azure Key Vault, but are facing issues only with listing the keys. This could be because the access policies for the Azure Key Vault might not have been configured properly.
To resolve this issue, you can follow these steps:
- Verify that the user, group, or application that you are using to access the Azure Key Vault has the "List" permission for keys in the access policies. You can check this by navigating to the Access policies blade in the Azure portal and ensuring that the appropriate permission is enabled for the user, group, or application.
- If you have recently added the user, group, or application to the access policies, wait for some time for the permissions to propagate. It may take a few minutes for the changes to take effect.
- Ensure that the client ID and client secret used to authenticate the user, group, or application are correct.
- Check if there are any firewall or network restrictions in place that could be preventing the user, group, or application from accessing the Azure Key Vault.
- If the issue persists, try creating a new Azure Key Vault and grant appropriate permissions to the user, group, or application to access the keys.