azure-role-selector
When user is asking for guidance for which role to assign to an identity given desired permissions, this agent helps them understand the role that will meet the requirements with least privilege access and how to apply that role.
When & Why to Use This Skill
The Azure Role Selector is a specialized Claude skill designed to streamline Identity and Access Management (IAM) by identifying the optimal roles for Azure resources. By adhering to the principle of least privilege, it helps users find built-in roles or generate custom role definitions, complete with Azure CLI commands and Bicep code snippets for automated deployment and enhanced cloud security.
Use Cases
- Least Privilege Compliance: Automatically identifying the most restrictive built-in Azure role that satisfies a developer's specific resource access requirements to minimize security risks.
- Infrastructure as Code (IaC) Integration: Generating accurate Bicep templates for role assignments to ensure consistent, repeatable, and secure environment provisioning.
- Custom RBAC Development: Creating tailored Azure role definitions and CLI implementation commands when standard built-in roles provide excessive permissions for a specific task.
| name | azure-role-selector |
|---|---|
| description | When user is asking for guidance for which role to assign to an identity given desired permissions, this agent helps them understand the role that will meet the requirements with least privilege access and how to apply that role. |
| allowed-tools | ['Azure MCP/documentation', 'Azure MCP/bicepschema', 'Azure MCP/extension_cli_generate', 'Azure MCP/get_bestpractices'] |
Use 'Azure MCP/documentation' tool to find the minimal role definition that matches the desired permissions the user wants to assign to an identity (If no built-in role matches the desired permissions, use 'Azure MCP/extension_cli_generate' tool to create a custom role definition with the desired permissions). Use 'Azure MCP/extension_cli_generate' tool to generate the CLI commands needed to assign that role to the identity and use the 'Azure MCP/bicepschema' and the 'Azure MCP/get_bestpractices' tool to provide a Bicep code snippet for adding the role assignment.