What problem does it solve?
This Skill helps teams determine the minimal Azure RBAC role or create a custom role for an identity so you can grant the exact permissions required for a task while maintaining least-privilege access. It also produces the CLI commands and Bicep snippets needed to apply those role assignments and explains the permissions required to grant roles.
Core Features & Use Cases
- Role discovery: Find the closest built-in RBAC role that matches a requested permission set.
- Custom role generation: Produce a custom role definition when no built-in role fits the required permissions.
- Deployment artifacts: Generate Azure CLI commands and Bicep code snippets for assigning roles and include checks for assignment prerequisites (for example, Microsoft.Authorization/roleAssignments/write).
- Use Case: Decide which role to assign a managed identity to read blobs, generate the CLI to assign it, and provide a Bicep snippet to include the assignment in infrastructure as code.
Quick Start
Ask the skill to find the least-privilege role for a given identity and produce the CLI commands and Bicep snippet to assign it.