Provide access to Key Vault keys, certificates, and secrets with an Azure role-based access control
Why am I getting this certificate error?
I have tried creating a certificate for my cybersecurity project on azure labs but I keep getting this error when I try to create the certificate. How can I fix this?
2 answers
Sort by: Most helpful
-
-
JamesTran-MSFT 36,636 Reputation points Microsoft Employee
2023-05-25T17:29:44.74+00:00 Thank you for your post!
Error Message:
The operation is not allowed by RBAC. If role assignments were recently changed, please wait several minutes for role assignments to become effective.
I understand that you're trying to create a Key Vault Certificate for your Cybersecurity project but are running into the error above. In order to resolve your issue, you'll have to ensure that your user has the correct Key Vault RBAC permissions to create the Certificate.
- Go to your Key Vault or the Resource Group that contains your vault.
Select Access control (IAM).
- Select View my access. You can also select the Role assignments tab to find your user's KV permissions.
- Ensure you have the Key Vault Certificates Officer or Key Vault Administrator role assigned to your user.
For more info - Azure built-in roles for Key Vault data plane operations
If you don't have the correct Key Vault RBAC permissions, I'd recommend reaching out to your Key Vault Administrator so they can update your user's permissions. If you do have the correct permissions, please not that it will take up to 10 minutes (600 seconds) after role assignments is changed for role to be applied. For more info.
I hope this helps!
If you have any other questions, please let me know. Thank you for your time and patience throughout this issue.
If the information helped address your question, please Accept the answer. This will help us and also improve searchability for others in the community who might be researching similar information.