An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
Hey Dean, it looks like you’ve run into Azure RBAC complaining about your elevated permissions (the “User Access Administrator” role) even though you’re a Microsoft Entra admin. Here’s the quick rundown:
- Microsoft Entra “Administrator” roles control identities (users, groups, etc.) in Entra ID, but they don’t grant you access to Azure resources like Key Vault.
- The warning you see in IAM is simply Azure telling you “you’ve got a role that can grant or remove permissions on resources”—that’s exactly what User Access Administrator does.
- You can safely remove that RBAC assignment only if you already have the Owner role on the subscription or resource group. If you don’t, keep it until you assign yourself (or another principal) equivalent rights, otherwise you’ll lose the ability to delegate access.
To create and manage Key Vault secrets, you need permissions on the Key Vault itself:
• If your vault is using the RBAC permission model (recommended)
- Go to your Key Vault in the Azure portal
- Open Access control (IAM)
- Click + Add → Add role assignment
- Assign yourself Key Vault Secrets Officer (can only manage secrets) or Key Vault Administrator (full vault rights)
• If your vault is using the Access policies (legacy) model
- Go to your Key Vault in the portal
- Select Access policies
- Click + Add Access Policy, pick the secret permissions you need (e.g., Get, Set), then select your user or service principal and save
Once you have those permissions, creating a secret is straightforward:
- In the portal, navigate to your Key Vault → Secrets
- Click + Generate/Import
- Give it a name and value, then hit Create
That’ll get you up and running without breaking your Microsoft Entra admin setup. Let me know if you have any other questions!
Reference List
- Quickcreate secrets tutorial: https://learn.microsoft.com/azure/key-vault/secrets/quick-create-portal
- Key Vault RBAC guide: https://learn.microsoft.com/azure/key-vault/general/rbac-guide?tabs=azure-cli
- Assign Key Vault access policy: https://learn.microsoft.com/azure/key-vault/general/assign-access-policy?tabs=azure-portal
Note: This content was drafted with the help of an AI system. Please verify the information before relying on it for decision-making.