IAM roles and permissions
Stay organized with collections
Save and categorize content based on your preferences.
This page describes Developer Connect roles and permissions.
Access control in Developer Connect is controlled using Identity and Access Management (IAM). IAM lets you create and manage permissions for Google Cloud resources. Developer Connect provides a specific set of predefined IAM roles where each role contains a set of permissions suited to a particular type of access or action. We recommend that you adopt the security principle of least privilege, and grant only the necessary access to your resources.
Predefined Developer Connect roles
You assign permissions to accounts through the use of roles. The following table lists the IAM roles available for Developer Connect and the permissions that they include:
The IAM documentation includes a searchable reference of all predefined roles.
| 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 Beta( Admin access to Developer Connect Insights resources. |
|
Developer Connect Insights Config Agent Beta( Allow Developer Connect to access SDLC information. |
|
Developer Connect Insights Viewer Beta( 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 service account
Developer Connect uses a service agent to execute tasks on your behalf when communicating with other services. This service agent is created automatically when you first interact with Developer Connect (create a repository connection or account connector).
The identifier for the Developer Connect service agent is as follows, where PROJECT_NUMBER is your Google Cloud project number.
service-PROJECT_NUMBER@gcp-sa-devconnect.iam.gserviceaccount.com
You use this identifier to grant or modify IAM roles and permissions.
Configure access to resources
For specific steps on granting roles, see Granting, changing, and revoking access to resources.
What's next
- Learn about IAM.
- Connect to a GitHub repository.