Back to Commands

Azure Role Selector

Commands azure 80

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.

Install Command
npx claude-code-templates@latest --command azure/azure-role-selector
View on GitHub
claude-code — azure-role-selector

Content

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.

Stack Builder

0 components

Your stack is empty

Browse components and click the + button to add them to your stack for easy installation.