이 페이지에서는 Eventarc에서 사용할 수 있는 액세스 제어 옵션을 설명합니다.
개요
Eventarc에서는 액세스 제어를 위해 Identity and Access Management(IAM)가 사용됩니다.
IAM 및 해당 기능에 대한 소개는 IAM 개요를 참조하세요. 액세스 권한을 부여하고 취소하는 방법을 알아보려면 프로젝트, 폴더, 조직에 대한 액세스 관리를 참조하세요.
Eventarc에서 지원되는 권한 및 역할 목록은 다음 섹션을 참조하세요.
Eventarc 서비스 에이전트
일부 Google Cloud 서비스에는 적절한 권한이 부여된 경우 서비스가 리소스에 액세스하도록 허용하는 서비스 에이전트가 있습니다. API에 서비스 에이전트가 필요한 경우 Google Cloud 는 API를 활성화하고 사용한 후 어느 시점에 서비스 에이전트를 만듭니다.
Eventarc는 처음 필요할 때만 서비스 에이전트를 만드는 프로비저닝 모델을 사용합니다. 예를 들어 API가 처음 사용 설정될 때가 아니라 Eventarc 리소스를 처음 만들 때입니다. 서비스 에이전트를 프로비저닝하고 시스템을 통해 변경사항을 전파하는 데 몇 분 정도 걸릴 수 있습니다. 이 지연에 대한 자세한 내용은 Eventarc 서비스 에이전트 사용 중 권한 거부됨을 참고하세요.
Eventarc API 사용 설정
Eventarc의 IAM 역할을 보고 할당하려면 프로젝트에 Eventarc API를 사용 설정해야 합니다. API를 사용 설정할 때까지는 Google Cloud 콘솔에서 Eventarc 역할을 볼 수 없습니다.
Eventarc API 및 Eventarc Publishing API를 사용 설정합니다.
콘솔
Roles required to enable APIs
To enable APIs, you need the Service Usage Admin IAM
role (roles/serviceusage.serviceUsageAdmin
), which
contains the serviceusage.services.enable
permission. Learn how to grant
roles.
gcloud
Roles required to enable APIs
To enable APIs, you need the Service Usage Admin IAM
role (roles/serviceusage.serviceUsageAdmin
), which contains the
serviceusage.services.enable
permission. Learn how to grant
roles.
gcloud services enable eventarc.googleapis.comeventarcpublishing.googleapis.com
사전 정의된 역할
다음 표에서는 Eventarc 사전 정의 IAM 역할과 각 역할에 포함된 모든 권한 목록을 보여줍니다.
사전 정의된 역할은 일반적인 사용 사례를 대부분 처리합니다. 사용 사례가 사전 정의된 역할로 처리되지 않는 경우, IAM 커스텀 역할을 만들 수 있습니다.
Eventarc 역할
Role | Permissions |
---|---|
Eventarc Admin( Full control over all Eventarc resources. Lowest-level resources where you can grant this role:
|
|
Eventarc Connection Publisher Beta( Can publish events to Eventarc channel connections. Lowest-level resources where you can grant this role:
|
|
Eventarc Developer( Access to read and write Eventarc resources. Lowest-level resources where you can grant this role:
|
|
Eventarc Event Receiver( Can receive events from all event providers. Lowest-level resources where you can grant this role:
|
|
Eventarc Message Bus Admin Beta( Full control over Message Buses resources. |
|
Eventarc Message Bus User Beta( Access to publish to or bind to a Message Bus. |
|
Eventarc Event Collector Beta( Can collect events from multiple projects in an org for a source resource. |
|
Eventarc Publisher Beta( Can publish events to Eventarc channels. Lowest-level resources where you can grant this role:
|
|
Eventarc Service Agent( Gives Eventarc service account access to managed resources. |
|
Eventarc Viewer( Can view the state of all Eventarc resources, including IAM policies. Lowest-level resources where you can grant this role:
|
|
프로젝트 수준 IAM 관리
프로젝트 수준에서 Google Cloud 콘솔, IAM API 또는 Google Cloud CLI를 사용하여 IAM 역할을 부여, 변경, 취소할 수 있습니다. 자세한 내용은 프로젝트, 폴더, 조직에 대한 액세스 관리를 참조하세요.