このページでは、Developer Connect のロールと権限について説明します。
Developer Connect でのアクセス制御は、 Identity and Access Management(IAM)を使用して制御します。IAM を使用すると、 リソースの権限を作成および 管理できます。 Google Cloud Developer Connect では、 事前定義された IAM ロールのセットが用意されています。 各ロールには、特定のタイプの アクセスまたはアクションに適した一連の権限が含まれています。最小権限の セキュリティ原則を導入し、 リソースに対する必要なアクセス権のみを付与することをおすすめします。
事前定義された Developer Connect のロール
役割を使用して、アカウントに権限を割り当てます。次の表に、Developer Connect で使用可能な IAM ロールと、それに含まれる権限を示します。
IAM のドキュメントには、 すべての事前定義ロールの検索可能なリファレンス が含まれています。
| Role | Permissions |
|---|---|
Developer Connect Admin( Full access to Developer Connect resources. |
|
Developer Connect Viewer( Read-only access to Developer Connect resources. |
|
Developer Connect HTTP Proxy Writer Beta( Grants read and write access to connections through the HTTP Proxy. |
|
Developer Connect Git Proxy Reader( Grants read-only access to repositories through the Git Proxy. |
|
Developer Connect Git Proxy User( Grants read and write access to repositories through the Git Proxy. |
|
Developer Connect Insights Admin( Admin access to Developer Connect Insights resources. |
|
Developer Connect Insights Config Agent( Allow Developer Connect to access SDLC information. |
|
Developer Connect Insights Viewer( Read-only access to Developer Connect Insights resources. |
|
Developer Connect OAuth Admin Beta( Grants read and write access to AccountConnector resources. |
|
Developer Connect OAuth User Beta( Grants read and write access to User resources, and read access to AccountConnectors. |
|
Developer Connect Read Token Accessor Beta( Grants access to Read-Only tokens (both PAT and short-lived). Also grants access to view the git repository link. |
|
Developer Connect Token Accessor Beta( Grants access to Read/Write and Read-Only tokens (both PAT and short-lived). Also grants access to view the git repository link. |
|
Developer Connect User( Grants access to view the connection and to the features that interact with the actual repository such as reading content from the repository |
|
Service agent roles
Service agent roles should only be granted to service agents.
| Role | Permissions |
|---|---|
Developer Connect Service Agent( Gives the Developer Connect API Service Account access to necessary GCP resources. |
|
Developer Connect サービス アカウント
Developer Connect は、他のサービスと通信するときに、ユーザーに代わってタスクを実行するサービス エージェントを使用します。 このサービス エージェントは、Developer Connect(リポジトリ接続またはアカウント コネクタの作成)を初めて操作するときに自動的に作成されます。
Developer Connect サービス エージェントの ID は次のとおりです。PROJECT_NUMBER は Google Cloud プロジェクト番号です。
service-PROJECT_NUMBER@gcp-sa-devconnect.
この ID を使用して、IAM ロールと権限を付与または変更します。
リソースへのアクセスの構成
ロールを付与する具体的な手順については、 リソースへのアクセス権の付与、変更、取り消しをご覧ください。
次のステップ
- IAM について学習する。
- GitHub リポジトリに接続する。