azure-rbac

作成者: Azure

ユーザーが最小特権アクセスを持つIDに適したAzure RBACロールを見つけ、それを割り当てるためのCLIコマンドとBicepコードを生成するのを支援します。

npx skills add https://github.com/microsoft/GitHub-Copilot-for-Azure --skill azure-rbac

Use the 'azure__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 the 'azure__extension_cli_generate' tool to create a custom role definition with the desired permissions. Then use the 'azure__extension_cli_generate' tool to generate the CLI commands needed to assign that role to the identity. Finally, use the 'azure__bicepschema' 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:

  • User Access Administrator (least privilege - recommended for role assignment only)
  • Owner (full access including role assignment)
  • Custom Role with Microsoft.Authorization/roleAssignments/write

Azureのその他のスキル

azure-ai
Azure
Azure AI(Search、Speech、OpenAI、Document Intelligence)に使用します。検索、ベクター/ハイブリッド検索、音声認識、音声合成、文字起こし、OCRを支援します。
appinsights-instrumentation
Azure
Azure Application Insightsを使用したWebアプリのインストルメンテーションのガイダンス。テレメトリパターン、SDKセットアップ、構成リファレンスを提供します。
azure-aigateway
Azure
Azure API Management (APIM)をAIゲートウェイとして構成し、AIモデル、MCPサーバー、エージェントを保護、監視、制御します。レート制限、セマンティックキャッシング、コンテンツセーフティ、負荷分散に役立ちます。
azure-compliance
Azure
Azureのコンプライアンスとセキュリティ監査の包括的な機能。ベストプラクティス評価、Key Vaultの有効期限監視、リソース構成の検証を含む。
azure-compute
Azure
ワークロード要件、パフォーマンス要件、予算制約に基づいて、Azure VMサイズ、VM Scale Sets(VMSS)、および構成を推奨します。
azure-cost-optimization
Azure
Azureサブスクリプション全体の実際のコストと使用率メトリクスを分析し、実行可能な最適化推奨事項を生成することで、コスト削減を特定し定量化します。
azure-deploy
Azure
Azureへのデプロイを実行します。準備と検証の後の最終ステップです。azd up、azd deploy、またはインフラストラクチャプロビジョニングコマンドを実行します。
azure-diagnostics
Azure
Azure上での本番環境の問題をデバッグおよびトラブルシューティングします。Container AppsとFunction Appsの診断、KQLを使用したログ分析、ヘルスチェック、一般的な問題の解決をカバーします。