Dear Mates, If you are new to key-vault in azure and you are selected Azure role-based access control for more reference pls click this link, If you are facing an issue creating Secret Key solutions are as below
"The operation is not allowed by RBAC. If role assignments were recently changed, please wait several minutes for role assignments to become effective"
So as per the above error, it is expected we have to assign the role to the User.Steps:
Go to your Key vault after its created and then click on Access Control (IAM)
- Then click on Add Role assignment and then add Key vault Administrator Role to your name: