What problem does it solve?
It helps you avoid over-permissioning by identifying the least-privilege Azure RBAC role for an identity and generating the exact commands and infrastructure code needed to assign it.
Core Features & Use Cases
- Role matching for least privilege: Finds the minimal built-in role definition that covers the permissions an identity needs.
- Custom RBAC role generation: Creates a custom role definition when no built-in role matches the required permissions.
- Deployment-ready outputs: Generates CLI commands and Bicep code for assigning the chosen role to a user-assigned identity, managed identity, or other principal.
Example use case: you need a managed identity to read a specific Azure resource (for example, blob data) and want only the permissions required to do that assignment and access—no more.
Quick Start
Use the azure-rbac skill to determine the least-privilege role for your identity and produce CLI and Bicep for the RBAC role assignment.