What problem does it solve?
This Skill helps cloud engineers and administrators determine the minimal Azure RBAC role or custom role definition needed to grant an identity only the permissions it requires, and then generates the corresponding az CLI commands and Bicep roleAssignment snippets to apply that access safely.
Core Features & Use Cases
- Role Discovery: Map requested permissions to the closest built-in Azure RBAC role using authoritative documentation.
- Custom Role Creation: Generate a custom role definition when no built-in role provides the exact, least-privilege set of actions.
- Automation Output: Produce az CLI commands for role assignment and Bicep code snippets for infrastructure-as-code deployment.
- Use Case: Determine the role required for a managed identity to read blobs in a storage account, then output a custom role if needed and provide CLI and Bicep assignment examples.
Quick Start
Ask the skill to find the least-privilege role to allow a managed identity to read blobs in storage account 'myStorage' and provide the az CLI commands and a Bicep roleAssignment snippet.