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 Granting, changing, and revoking access to resources.
For lists of the permissions and roles that Eventarc supports, see the following sections.
Enabling the Eventarc API
To view and assign IAM roles for Eventarc, you must enable the Eventarc API for your project. You will not 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. |
|
Eventarc Connection Publisher
Beta
Can publish events to Eventarc Channel Connections. |
|
Eventarc Developer
Access to read and write Eventarc resources. |
|
Eventarc Event Receiver
Can receive events from all event providers. |
|
Eventarc Publisher
Beta
Can publish events to Eventarc channels. |
|
Eventarc Viewer
Can view the state of all Eventarc resources, including IAM policies. |
|
For more information on Eventarc roles and permissions, see Roles and permissions.
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 Granting, changing, and revoking access to resources.