תפקידים והרשאות של IAM ל-Integration Connectors
תפקידים מוגדרים מראש נותנים גישה פרטנית למשאבים ספציפיים ב-Google Cloud. Google היא זו שיוצרת את התפקידים האלה ומעדכנת אותם. Google מעדכנת אוטומטית את ההרשאות שלהם לפי הצורך, למשל כשנוספים ל-Google Cloud תכונות או שירותים חדשים.
בטבלה הבאה מפורטים כל התפקידים המוגדרים מראש ב-IAM ל-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 |
|
מידע נוסף על תפקידים מוגדרים מראש זמין במאמר תפקידים והרשאות. לא בטוחים איזה תפקיד מוגדר מראש לתת? תוכלו להיעזר במאמר בחירת תפקידים מוגדרים מראש.
הרשאות לחשבונות שירות של חיבורים
החיבור פועל כחשבון השירות שציינתם כשנוצר החיבור.
כדי ליצור או לעדכן חיבור, לחשבון המשתמש ששולח את הבקשה צריכה להיות ההרשאה iam.serviceAccounts.actAs בחשבון השירות של החיבור. החשבון הראשי הוא המשתמש או חשבון השירות שמבצע קריאה ל-Integration Connectors (לדוגמה, ממסוף Google Cloud , מ-Terraform או מה-API). הדרישה חלה על כל חיבור, בלי קשר לסוג האימות.
כדי לתת את ההרשאה הזו, מקצים לחשבון המשתמש את התפקיד "משתמש בחשבון שירות" (roles/iam.serviceAccountUser) בחשבון השירות של החיבור.
מידע נוסף זמין במאמרים ניהול הגישה לחשבונות שירות ותפקידים לאימות חשבון שירות.
אם לחשבון המשתמש אין את ההרשאה, הבקשה תיכשל ותוצג השגיאה FAILED_PRECONDITION עם סוג הפרה של תנאי מוקדם SERVICE_ACCOUNT_PERMISSION_DENIED, והחיבור לא ייווצר או יעודכן. החיבורים הקיימים ממשיכים לפעול.