Optimized for: Gemini / ChatGPT / Claude
Advanced AI Prompt for Azure RBAC Custom Role for Managed Identities
Use this engineered prompt to drastically optimize your workflow and output.
Required Variables
- ✦
[RESOURCE_GROUP] - ✦
[SUBSCRIPTION_ID] - ✦
[ACTIONS_LIST]
advanced-ai-prompt-azure-rbac-managed-identity.txt
As an Azure Security Engineer, create a custom RBAC role definition in JSON format. This role should be scoped to the resource group [RESOURCE_GROUP] within subscription [SUBSCRIPTION_ID]. The role must only allow the following granular actions: [ACTIONS_LIST]. Ensure that 'DataActions' are explicitly separated from 'Actions' and that the 'AssignableScopes' is strictly limited to the resource group level to prevent privilege creeping.
Example Output
"The AI returns a JSON definition with a unique 'roleName', 'description', and a precise list of 'Permissions' and 'AssignableScopes'."