Ruoli e autorizzazioni IAM per Integration Connectors
I ruoli predefiniti forniscono un accesso granulare a risorse Google Cloud specifiche. Questi ruoli sono creati e gestiti da Google. Google aggiorna automaticamente le autorizzazioni in base alle necessità, ad esempio quando Google Cloud aggiunge nuove funzionalità o servizi.
La tabella seguente elenca tutti i ruoli IAM predefiniti per Integration Connectors:| 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 |
|
Per saperne di più sui ruoli predefiniti, consulta Ruoli e autorizzazioni. Per assistenza nella scelta dei ruoli predefiniti più appropriati, consulta Scegli i ruoli predefiniti.
Autorizzazioni per i service account di connessione
Una connessione viene eseguita come account di servizio specificato durante la creazione della connessione.
Per creare o aggiornare una connessione, l'entità che effettua la richiesta deve disporre dell'autorizzazione iam.serviceAccounts.actAs sul account di servizio della connessione. L'entità è l'utente o il account di servizio che chiama Integration Connectors (ad esempio, dalla console Google Cloud , da Terraform o dall'API). Il requisito si applica a ogni connessione, indipendentemente dal tipo di autenticazione.
Per concedere questa autorizzazione, assegna all'entità il ruolo Utente service account (roles/iam.serviceAccountUser) nel account di servizio della connessione.
Per saperne di più, consulta Gestisci l'accesso ai service account e Ruoli per l'account di servizio account.
Se l'entità non dispone dell'autorizzazione, la richiesta non va a buon fine e viene visualizzato un errore FAILED_PRECONDITION con un tipo di violazione della precondizione SERVICE_ACCOUNT_PERMISSION_DENIED. Inoltre, la connessione non viene creata o aggiornata. Le connessioni esistenti continuano a essere eseguite.