์ก์ธ์ค ์น์ธ ์ธ์ฆ
์ปฌ๋ ์
์ ์ฌ์ฉํด ์ ๋ฆฌํ๊ธฐ
๋ด ํ๊ฒฝ์ค์ ์ ๊ธฐ์ค์ผ๋ก ์ฝํ
์ธ ๋ฅผ ์ ์ฅํ๊ณ ๋ถ๋ฅํ์ธ์.
์ด ๋ฌธ์์์๋ ํ๋ก๊ทธ๋๋งคํฑ ๋ฐฉ์์ผ๋ก ์ก์ธ์ค ์น์ธ์ ์ธ์ฆํ๋ ๋ฐฉ๋ฒ์ ์ค๋ช
ํฉ๋๋ค. ์ก์ธ์ค ์น์ธ ์ธ์ฆ ๋ฐฉ๋ฒ์ API์ ์ก์ธ์คํ๋ ๋ฐ ์ฌ์ฉํ๋ ์ธํฐํ์ด์ค์ ์ฝ๋๊ฐ ์คํ๋๋ ํ๊ฒฝ์ ๋ฐ๋ผ ๋ค๋ฆ
๋๋ค.
Google Cloud ์ธ์ฆ์ ๋ํ ์์ธํ ๋ด์ฉ์ ์ธ์ฆ ๊ฐ์๋ฅผ ์ฐธ์กฐํ์ธ์.
API ์ก์ธ์ค
์ก์ธ์ค ์น์ธ์ ํ๋ก๊ทธ๋๋งคํฑ ์ก์ธ์ค๋ฅผ ์ง์ํฉ๋๋ค. ๋ค์ ๋ฐฉ๋ฒ์ผ๋ก API์ ์ก์ธ์คํ ์ ์์ต๋๋ค.
Google Cloud CLI
gcloud CLI๋ฅผ ์ฌ์ฉํ์ฌ ์ก์ธ์ค ์น์ธ์ ์ก์ธ์คํ ๋ gcloud CLI ๋ช
๋ น์ด์์ ์ฌ์ฉํ๋ ์ฌ์ฉ์ ์ธ์ฆ ์ ๋ณด๋ฅผ ์ ๊ณตํ๋ ์ฌ์ฉ์ ๊ณ์ ์ผ๋ก gcloud CLI์ ๋ก๊ทธ์ธํฉ๋๋ค.
์กฐ์ง์ ๋ณด์ ์ ์ฑ
์ผ๋ก ์ธํด ์ฌ์ฉ์ ๊ณ์ ์ ํ์ํ ๊ถํ์ด ์๋ ๊ฒฝ์ฐ ์๋น์ค ๊ณ์ ๊ฐ์ฅ์ ์ฌ์ฉํ ์ ์์ต๋๋ค.
์์ธํ ๋ด์ฉ์ gcloud CLI ์ฌ์ฉ์ ์ํ ์ธ์ฆ์ ์ฐธ์กฐํ์ธ์.
์ก์ธ์ค ์น์ธ์์ gcloud CLI๋ฅผ ์ฌ์ฉํ๋ ๋ฐฉ๋ฒ์ ๋ํ ์์ธํ ๋ด์ฉ์ gcloud CLI ์ฐธ์กฐ ํ์ด์ง๋ฅผ ์ฐธ์กฐํ์ธ์.
REST
gcloud CLI ์ฌ์ฉ์ ์ธ์ฆ ์ ๋ณด๋ฅผ ์ฌ์ฉํ๊ฑฐ๋ ์ ํ๋ฆฌ์ผ์ด์
๊ธฐ๋ณธ ์ฌ์ฉ์ ์ธ์ฆ ์ ๋ณด๋ฅผ ์ฌ์ฉํ์ฌ ์ก์ธ์ค ์น์ธ API์ ์ธ์ฆํ ์ ์์ต๋๋ค.
REST ์์ฒญ ์ธ์ฆ์ ๋ํ ์์ธํ ๋ด์ฉ์ REST๋ฅผ ์ฌ์ฉํ์ฌ ์ธ์ฆ์ ์ฐธ์กฐํ์ธ์.
์ฌ์ฉ์ ์ธ์ฆ ์ ๋ณด ์ ํ์ gcloud CLI ์ฌ์ฉ์ ์ธ์ฆ ์ ๋ณด ๋ฐ ADC ์ฌ์ฉ์ ์ธ์ฆ ์ ๋ณด๋ฅผ ์ฐธ์กฐํ์ธ์.
์ก์ธ์ค ์น์ธ์ ์ก์ธ์ค ์ ์ด
์ก์ธ์ค ์น์ธ์ ์ธ์ฆํ ํ์๋ Google Cloud ๋ฆฌ์์ค์ ์ก์ธ์คํ ์ ์๋ ๊ถํ์ ์น์ธ ๋ฐ์์ผ ํฉ๋๋ค. ์ก์ธ์ค ์น์ธ์ ์น์ธ์ Identity and Access Management(IAM)๋ฅผ ์ฌ์ฉํฉ๋๋ค.
์ก์ธ์ค ์น์ธ์ ํ์ํ ์ญํ ์ ๋ํ ์์ธํ ๋ด์ฉ์ IAM์ผ๋ก ์ก์ธ์ค ์ ์ด๋ฅผ ์ฐธ์กฐํ์ธ์.
IAM ๋ฐ ์น์ธ์ ๋ํ ์์ธํ ๋ด์ฉ์ IAM ๊ฐ์๋ฅผ ์ฐธ์กฐํ์ธ์.
๋ค์ ๋จ๊ณ
๋ฌ๋ฆฌ ๋ช
์๋์ง ์๋ ํ ์ด ํ์ด์ง์ ์ฝํ
์ธ ์๋ Creative Commons Attribution 4.0 ๋ผ์ด์ ์ค์ ๋ฐ๋ผ ๋ผ์ด์ ์ค๊ฐ ๋ถ์ฌ๋๋ฉฐ, ์ฝ๋ ์ํ์๋ Apache 2.0 ๋ผ์ด์ ์ค์ ๋ฐ๋ผ ๋ผ์ด์ ์ค๊ฐ ๋ถ์ฌ๋ฉ๋๋ค. ์์ธํ ๋ด์ฉ์ Google Developers ์ฌ์ดํธ ์ ์ฑ
์ ์ฐธ์กฐํ์ธ์. ์๋ฐ๋ Oracle ๋ฐ/๋๋ Oracle ๊ณ์ด์ฌ์ ๋ฑ๋ก ์ํ์
๋๋ค.
์ต์ข
์
๋ฐ์ดํธ: 2025-08-30(UTC)
[[["์ดํดํ๊ธฐ ์ฌ์","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-08-30(UTC)"],[[["\u003cp\u003eAccess Approval can be accessed programmatically through the Google Cloud CLI or REST.\u003c/p\u003e\n"],["\u003cp\u003eAuthentication to Access Approval depends on the interface used (gcloud CLI or REST) and the environment in which the code is running.\u003c/p\u003e\n"],["\u003cp\u003eThe gcloud CLI uses user account credentials by default, but supports service account impersonation for stricter security requirements.\u003c/p\u003e\n"],["\u003cp\u003eREST API access can use either gcloud CLI credentials or Application Default Credentials for authentication.\u003c/p\u003e\n"],["\u003cp\u003eAfter authenticating, users must be authorized to access Google Cloud resources via Identity and Access Management (IAM).\u003c/p\u003e\n"]]],[],null,["# Authenticate to Access Approval\n\nThis document describes how to authenticate to Access Approval programmatically. How\nyou authenticate to Access Approval depends on the interface you use to access the API\nand the environment where your code is running.\n\n\nFor more information about Google Cloud authentication, see the\n[Authentication methods](/docs/authentication).\n\nAPI access\n----------\n\n\nAccess Approval supports programmatic access. You can access the API in\nthe following ways:\n\n- [Google Cloud CLI](#gcloud)\n- [REST](#rest)\n\n### Google Cloud CLI\n\n\nWhen you use the [gcloud CLI](/sdk/gcloud/reference/access-approval) to access\nAccess Approval, you\n[log in to the gcloud CLI](/sdk/docs/authorizing) with a user\naccount, which provides the credentials used by the gcloud CLI commands.\n\n\nIf your organization's security policies prevent user accounts from having the required\npermissions, you can use [service account impersonation](#sa-impersonation).\n\nFor more information, see\n[Authenticate for using the gcloud CLI](/docs/authentication/gcloud).\nFor more information about using the gcloud CLI with Access Approval,\nsee [the gcloud CLI reference pages](/sdk/gcloud/reference/access-approval).\n\n\n### REST\n\n\nYou can authenticate to\n[the Access Approval API](/assured-workloads/access-approval/docs/reference/rest)\nby using your gcloud CLI credentials or by using\n[Application Default Credentials](/docs/authentication/application-default-credentials).\nFor more information about authentication for REST requests, see\n[Authenticate for using REST](/docs/authentication/rest).\nFor information about the types of credentials, see\n[gcloud CLI credentials and ADC credentials](/docs/authentication/gcloud#gcloud-credentials).\n\nAccess control for Access Approval\n----------------------------------\n\n\nAfter you authenticate to Access Approval, you must be authorized to access\nGoogle Cloud resources. Access Approval uses\nIdentity and Access Management (IAM) for authorization.\n\n\nFor more information about the roles for Access Approval, see\n[Access control with IAM](/assured-workloads/access-approval/docs/access-control).\nFor more information about IAM and authorization, see\n[IAM overview](/iam/docs/overview).\n\nWhat's next\n-----------\n\n- Learn about [Google Cloud authentication methods](/docs/authentication#auth-decision-tree).\n- See a list of [authentication use cases](/docs/authentication/use-cases)."]]