This page describes the API access control options available to you in Cloud Endpoints.
Endpoints uses Cloud Identity and Access Management (Cloud IAM) to control access to your API. You can grant access to your API at the project level and at the individual Endpoints service level. For example, you can:
- Grant access to project members on a per-service basis.
- Grant permission to a user or service account to deploy an updated Endpoints configuration.
- Grant access to your API users so they can enable your API in their own Google Cloud project.
Roles that control access to services
You can grant the following roles for a specific service on the Endpoints >
Services page in the Google Cloud Console, by using the API, or by
gcloud command-line tool.
|Cloud IAM role name||Role title||Description|
||Service Consumer||Permissions for a non-project member to view and enable the API in their own project. You can grant the Service Consumer role only to Google Accounts, Google Groups, or service accounts. If you have created a portal for your API, this role lets your API users access the portal. See the Service Management API access control topic for information about this role.|
||Service Controller||Permissions to make calls to the
||Service Config Editor||Permission to deploy Endpoints configurations. This role is more restrictive than the Project Editor role granted on a service.|
||Service Management Administrator||All Service Config Editor permissions and permissions to manage access to the API. Comparable to the Project Owner role granted on a service.|
Endpoints portal permissions
The Endpoints Portal Admin role, which is a project-level role, contains the following permissions.
||Permission to access the Endpoints portal page in the Cloud Console. Project members granted the Project Viewer role also have this permission.|
||Permission to add a custom domain on the Endpoints portal page in the Cloud Console. Project members granted the Project Editor role also have this permission.|
||Permission to delete a custom domain on the Endpoints portal page in the Cloud Console. Project members granted the Project Editor role also have this permission.|
||On the portal created for an API, permission to access the Site Wide tab on the Settings page to change settings such as the color and logo used on the portal.|