Labsco
github logo

azure-role-selector

✓ Official36,200

by github · part of github/awesome-copilot

Guidance for selecting least-privilege Azure roles matching specific permission requirements. Searches Azure built-in roles to find the minimal role matching desired permissions, or generates custom role definitions when no built-in role fits Provides CLI commands and Bicep code snippets for applying role assignments to identities Integrates Azure documentation, best practices, and Bicep schema tools to recommend and implement role configurations

🔥🔥🔥✓ VerifiedFreeQuick setup
🧩 One of 7 skills in the github/awesome-copilot package — works on its own, and pairs well with its siblings.

Guidance for selecting least-privilege Azure roles matching specific permission requirements. Searches Azure built-in roles to find the minimal role matching desired permissions, or generates custom role definitions when no built-in role fits Provides CLI commands and Bicep code snippets for applying role assignments to identities Integrates Azure documentation, best practices, and Bicep schema tools to recommend and implement role configurations

Inspect the full instructions your agent will receiveExpand

This is the exact playbook injected into your agent when the skill activates — shown here so you can audit it before installing. You don't need to read it to use the skill.


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.