IAM-Rollen und -Berechtigungen für Integration Connectors
Vordefinierte Rollen ermöglichen einen detaillierten Zugriff auf bestimmte Google Cloud-Ressourcen. Vordefinierte Rollen werden von Google erstellt und verwaltet. Google aktualisiert deren Berechtigungen bei Bedarf automatisch, z. B. wenn Google Cloud neue Funktionen oder Dienste hinzufügt.
In der folgenden Tabelle sind alle vordefinierten IAM-Rollen für Integration Connectors aufgeführt:| 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 |
|
Weitere Informationen zu vordefinierten Rollen finden Sie unter Rollen und Berechtigungen. Informationen zur Auswahl der am besten geeigneten vordefinierten Rollen finden Sie unter Vordefinierte Rollen auswählen.
Berechtigungen für Verbindungsdienstkonten
Eine Verbindung wird als das Dienstkonto ausgeführt, das Sie beim Erstellen der Verbindung angeben.
Zum Erstellen oder Aktualisieren einer Verbindung muss das Hauptkonto, das die Anfrage stellt, die Berechtigung iam.serviceAccounts.actAs für das Dienstkonto der Verbindung haben. Das Hauptkonto ist der Nutzer oder das Dienstkonto, das Integration Connectors aufruft (z. B. über die Google Cloud Console, Terraform oder die API). Die Anforderung gilt für jede Verbindung, unabhängig vom Authentifizierungstyp.
Weisen Sie dem Hauptkonto die Rolle „Dienstkontonutzer“ (roles/iam.serviceAccountUser) für das Dienstkonto der Verbindung zu, um diese Berechtigung zu gewähren.
Weitere Informationen finden Sie unter Zugriff auf Dienstkonten verwalten und Rollen für die Dienstkontoauthentifizierung.
Wenn das Hauptkonto nicht die Berechtigung hat, schlägt die Anfrage mit dem Fehler FAILED_PRECONDITION und dem Vorbedingungsverletzungstyp SERVICE_ACCOUNT_PERMISSION_DENIED fehl. Die Verbindung wird dann nicht erstellt oder aktualisiert. Bestehende Verbindungen werden weiterhin ausgeführt.