Hi I have a Azure API manager setup and want to add a custom domain. We have deployed Azure Key Vault and uploaded a certificate.
We have deployed Key Vault with the recommended "role-based access control"
We have given the APIM managed identity "Key Vault Reader" access with rbac.
When we try to add the custom domain and certificate to APIM we get an error:
"failed to access KeyVault Secret xxxxxxx using managed service identity (http://aka.ms/apimmsi) of Api Management service. Check if Managed Identity YYYYY and Object ID ZZZZZZZ has GET permissions on secrets in the KeyValuyt Access Policies.
What does this error mean?
We don't have Key vault access policys configured (not recommended)
What RBAC role should I give the APIM managed identity to use the certificate?
Thanks