This page describes the access control options that are available to you in Eventarc.
Overview
Eventarc uses Identity and Access Management (IAM) for access control.
For an introduction to IAM and its features, see the IAM overview. To learn how to grant and revoke access, see Manage access to projects, folders, and organizations.
For lists of the permissions and roles that Eventarc supports, see the following sections.
Enable the Eventarc API
To view and assign IAM roles for Eventarc, you must enable the Eventarc API for your project. You won't be able to see the Eventarc roles in the Google Cloud console until you enable the API.
Predefined roles
The following table lists the Eventarc predefined IAM roles with a corresponding list of all the permissions each role includes.
The predefined roles address most typical use cases. If your use case isn't covered by the predefined roles, you can create an IAM custom role.
Eventarc roles
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 Publisher Beta( Can publish events to Eventarc channels. Lowest-level resources where you can grant this role:
|
|
Eventarc Viewer( Can view the state of all Eventarc resources, including IAM policies. Lowest-level resources where you can grant this role:
|
|
Project-level IAM management
At the project level, you can grant, change, and revoke IAM roles using the Google Cloud console, the IAM API, or the Google Cloud CLI. For instructions, see Manage access to projects, folders, and organizations.