בדף הזה מוסבר על התפקידים וההרשאות ב-Developer Connect.
ב-Developer Connect, בקרת הגישה מתבצעת באמצעות ניהול זהויות והרשאות גישה (IAM). בעזרת IAM תוכלו ליצור ולנהל את ההרשאות למשאבים של Google Cloud . ב-Developer Connect יש קבוצה ספציפית של תפקידים מוגדרים מראש ב-IAM, שכל אחד מהם מכיל קבוצה של הרשאות שמתאימות לסוג מסוים של גישה או פעולה. מומלץ לאמץ את העקרון של הרשאות מינימליות, ולהעניק רק את הגישה הנחוצה למשאבים.
תפקידים מוגדרים מראש ב-Developer Connect
הקצאת הרשאות לחשבונות מתבצעת באמצעות תפקידים. בטבלה הבאה מפורטים תפקידי ה-IAM שזמינים ל-Developer Connect וההרשאות שכלולות בהם:
במסמכי התיעוד של 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 הוא כפי שמופיע בהמשך, כאשר PROJECT_NUMBER הוא Google Cloud מספר הפרויקט.
service-PROJECT_NUMBER@gcp-sa-devconnect.
משתמשים במזהה הזה כדי להעניק או לשנות תפקידים והרשאות ב-IAM.
הגדרת הגישה למשאבים
במאמר הענקה, שינוי וביטול גישה למשאבים מוסבר איך נותנים תפקידים.