이 페이지에서는 Cloud Endpoints에서 사용할 수 있는 API 액세스 제어 옵션에 대해 설명합니다.
개요
Endpoints는 Identity and Access Management (IAM)를 사용하여 API에 대한 액세스를 제어합니다. 프로젝트 수준 및 개별 Endpoints 서비스 수준에서 API에 대한 액세스 권한을 부여할 수 있습니다. 예를 들어 다음을 수행할 수 있습니다.
주 구성원에게 서비스별로 액세스 권한을 부여합니다.
업데이트된 Endpoints 구성을 배포할 수 있는 권한을 사용자 또는 서비스 계정에 부여합니다.
자체Google Cloud 프로젝트에서 API를 사용 설정할 수 있도록 API 사용자에게 액세스 권한을 부여합니다.
서비스 액세스 권한을 제어하는 역할
API 또는 Google Cloud CLI를 사용하여 Google Cloud 콘솔의 Endpoints > 서비스 페이지에서 특정 서비스에 다음과 같은 역할을 할당할 수 있습니다.
IAM 역할 이름
역할 칭호
설명
roles/servicemanagement.serviceConsumer
서비스 소비자
주 구성원이 자신의 프로젝트에서 API를 보고 사용 설정할 수 있는 권한입니다. 서비스 소비자 역할은 Google 계정, Google 그룹스, 서비스 계정에만 부여할 수 있습니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[[["\u003cp\u003eCloud Endpoints utilizes Identity and Access Management (IAM) to manage access to APIs at both the project and individual service levels.\u003c/p\u003e\n"],["\u003cp\u003ePermissions can be assigned on a per-service basis, allowing for granular control over who can deploy configurations or access the API.\u003c/p\u003e\n"],["\u003cp\u003eThe Service Consumer role enables principals to view and enable an API in their own Google Cloud project.\u003c/p\u003e\n"],["\u003cp\u003eThe Service Controller role grants permissions to make calls to the \u003ccode\u003echeck\u003c/code\u003e and \u003ccode\u003ereport\u003c/code\u003e methods in the Service Infrastructure API during runtime.\u003c/p\u003e\n"],["\u003cp\u003eThe Service Config Editor and Service Management Administrator roles provide varying levels of permissions for deploying configurations and managing API access, with the latter comparable to the Project Owner role.\u003c/p\u003e\n"]]],[],null,["# Overview of API access\n\nOpenAPI \\| [gRPC](/endpoints/docs/grpc/api-access-overview \"View this page for the Cloud Endpoints gRPC docs\")\n\n\u003cbr /\u003e\n\nThis page describes the API access control options available to you in\nCloud Endpoints.\n\nOverview\n--------\n\nEndpoints uses\n[Identity and Access Management (IAM)](/iam/docs)\nto control access to your API. You can grant access to your API at the project\nlevel and at the individual Endpoints service level. For example,\nyou can:\n\n- Grant access to principals on a per-service basis.\n- Grant permission to a user or service account to deploy an updated Endpoints configuration.\n- Grant access to your API users so they can enable your API in their own Google Cloud project.\n\nRoles that control access to services\n-------------------------------------\n\nYou can grant the following roles for a specific service on the **Endpoints** \\\u003e\n**Services** page in the Google Cloud console, by using the API, or by\nusing the Google Cloud CLI.\n\n| **Note:** Although you can grant other roles at the service level, we recommend that you use the roles listed in the previous table to manage your API.\n\nWhat's next\n-----------\n\n- [Controlling who can enable your API](/endpoints/docs/openapi/control-api-callers).\n- [Granting and revoking access to the API](/endpoints/docs/openapi/control-api-access)."]]