이 페이지에서는 Developer Connect 역할과 권한을 설명합니다.
Developer Connect의 액세스 제어는 Identity and Access Management (IAM)를 사용하여 제어됩니다. IAM을 사용하면 Google Cloud 리소스에 대한 권한을 만들고 관리할 수 있습니다. Developer Connect는 각 역할에 특정 유형의 액세스 또는 작업에 적합한 권한 집합이 포함된 특정 사전 정의된 IAM 역할 집합을 제공합니다. 최소 권한의 보안 원칙을 채택하여 리소스에 대해 필요한 액세스 권한만 부여하는 것이 좋습니다.
사전 정의된 Developer Connect 역할
역할을 사용하여 계정에 권한을 할당합니다. 다음 표에는 Developer Connect에 사용할 수 있는 IAM 역할과 여기에 포함된 권한이 나와 있습니다.
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 역할 및 권한을 부여하거나 수정합니다.
리소스에 대한 액세스 구성
역할 부여에 대한 구체적인 단계는 리소스에 대한 액세스 권한 부여, 변경, 취소를 참고하세요.
다음 단계
- IAM에 대해 알아봅니다.
- GitHub 저장소에 연결합니다.