I am trying to implement the Azure Verifiable Credentials demo https://learn.microsoft.com/en-us/azure/active-directory/verifiable-credentials/verifiable-credentials-configure-tenant, however, already after scanning the QR generated in the demo app, which I registered in my Azure Active Directory, I get that I do not have access to the KeyVault resource, when I enabled all access permissions.
Does anyone have any idea what could be generating this error?
2
Answers
To resolve 403 Forbidden error, please check whether you have given required permissions.
Make sure to give permissions like below:
Key permissions: Get, List, Create, Import, Verify and Sign
Secret permissions: Get, list and Set
Otherwise, check whether firewall policy is enabled or not.
To know the exact reason behind the error try turning on Azure Key Vault logging that will give you the reason behind the error.
Please refer below links for more information:
REST API error codes – Azure Key Vault | Microsoft Docs
Issue your own Verifiable Credentials | Decentralized Identity Developer Docs (didproject.azurewebsites.net)
In KeyVault add an Access Policy for service principal "Verifiable Credentials Service Request" and give it Key Permissions Get, Sign and save that policy