Azure rbac

From Kilo-Org/kilo-marketplace · View interactive version

Azure rbac is an AI agent skill from the GitHub repository Kilo-Org/kilo-marketplace. Helps users find the right Azure RBAC role for an identity with least privilege access, then generate CLI commands and Bicep code to assign it. Also provides guidance on permissions required to grant roles. WHEN: bicep for role assignment, what role should I assign, least privilege role, RBAC role f

How to use this skill

Skill file

Use the 'azuredocumentation' 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 the 'azureextension_cli_generate' tool to create a custom role definition with the desired permissions. Then use the 'azureextension_cli_generate' tool to generate the CLI commands needed to assign that role to the identity. Finally, use the 'azurebicepschema' and 'azure__get_azure_bestpractices' tools to provide a Bicep code snippet for adding the role assignment. If user is asking about role necessary to set access, refer to Prerequisites for Granting Roles down below:

Prerequisites for Granting Roles

To assign RBAC roles to identities, you need a role that includes the Microsoft.Authorization/roleAssignments/write permission. The most common roles with this permission are:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.