Integration Connectors の IAM ロールと権限
事前定義ロールを使用すると、特定の Google Cloud リソースに対してきめ細かいアクセス権を付与できます。 これらのロールは Google によって作成され、管理されます。Google は、Google Cloud によって新しい機能やサービスが追加された場合など、必要に応じて権限を自動的に更新します。
次の表に、Integration Connectors のすべての事前定義 IAM ロールを示します。| Role | Permissions |
|---|---|
Connector Admin( Full access to all resources of Connectors Service. |
|
Connectors Editor( Editor role for connectors |
|
Connectors Viewer( Read-only access to Connectors all resources. |
|
Custom Connectors Admin( Custom Connector is a global resource which creates custom connector within the given target project. This role grants Admin access to Custom Connector resources |
|
Custom Connector Viewer( Custom Connector is a global resource which creates custom connector within the given target project. This role grants Read-only access to Custom Connector & Custom Connector Version resources. |
|
Connectors Endpoint Attachment Admin( Endpoint Attachment is a regional resource which creates PSC connection endpoint for the given PSC Service Attachment. This role grants Admin access to Connectors Endpoint Attachment resources. |
|
Connectors Endpoint Attachment Viewer( Endpoint Attachment is a regional resource which creates PSC connection endpoint for the given PSC Service Attachment. This role grants Read-only access to Connectors Endpoint Attachment resources |
|
Connectors Event Subscriptions Admin( Event Subscription is a regional resource which creates subscriptions on events for a given connection within the given target project. This role grants Admin access to Connectors Subscription resources |
|
Connectors Event Subscriptions Viewer( Event Subscription is a regional resource which creates subscriptions on events for a given connection within the given target project. This role grants Read-only access to Event Subscription resources. |
|
Connector Invoker( Full Access to invoke all operations on Connections. |
|
Connector Event Listener( Full Access to listen events by connections. |
|
Connectors Managed Zone Admin( Managed Zone is a global resource which creates Cloud DNS Peering Zone with the given target project. This role grants Admin access to Connectors Managed Zone resources |
|
Connectors Managed Zone Viewer( Managed Zone is a global resource which creates Cloud DNS Peering Zone with the given target project. This role grants Read-only access to Connectors Managed Zone resources. |
|
Service agent roles
Service agent roles should only be granted to service agents.
| Role | Permissions |
|---|---|
Connectors Platform Service Agent( Grants Connectors Platform service account to manage customer resources |
|
事前定義ロールの詳細については、ロールと権限をご覧ください。 最適な事前定義ロールを選択する方法については、事前定義ロールの選択をご覧ください。
接続サービス アカウントの権限
接続は、接続の作成時に指定したサービス アカウントとして実行されます。接続を作成または更新するには、リクエストを行うプリンシパルに、接続のサービス アカウントに対する iam.serviceAccounts.actAs 権限が必要です。プリンシパルは、Integration Connectors を呼び出すユーザーまたはサービス アカウントです( Google Cloud コンソール、Terraform、API など)。この要件は、認証タイプに関係なく、すべての接続に適用されます。
この権限を付与するには、接続のサービス アカウントに対するサービス アカウント ユーザーのロール(roles/iam.serviceAccountUser)をプリンシパルに割り当てます。詳細については、サービス アカウントに対するアクセス権の管理とサービス アカウントの認証に必要なロールをご覧ください。
プリンシパルに権限がない場合、リクエストは失敗し、前提条件違反タイプが SERVICE_ACCOUNT_PERMISSION_DENIED の FAILED_PRECONDITION エラーが返されます。接続は作成または更新されません。既存の接続は引き続き実行されます。