gdcloud auth activate-service-account - 서비스 계정으로 GDC 에어갭에 대한 액세스를 승인합니다.
개요
gdcloud auth activate-service-account [flags]
설명
서비스 계정으로 GDC 에어 갭에 대한 액세스를 승인합니다.
gdcloud가 서비스 계정 사용자 인증 정보를 사용하여 요청을 할 수 있도록 하려면 이 명령어를 사용하여 비공개 승인 키가 포함된 파일에서 이러한 사용자 인증 정보를 가져오고 gdcloud에서 사용할 수 있도록 활성화하세요. 'gdcloud auth activate-service-account'는 'gdcloud auth login' 명령어와 동일한 기능을 하지만 사용자 인증 정보 대신 서비스 계정을 사용합니다.
EXAMPLES
To authorize gdcloud to access GDC air-gapped using an existing service account, run:
gdcloud auth activate-service-account --key-file=/path/key.json
필수 플래그
--key-file string Path to the private key file.
GDCLOUD 전체 플래그
이러한 플래그는 모든 명령어에서 사용할 수 있습니다(--configuration, --format, --help, --project, --quiet).
[[["이해하기 쉬움","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\u003eThis command, \u003ccode\u003egdcloud auth activate-service-account\u003c/code\u003e, authorizes access to Google Distributed Cloud (GDC) air-gapped using a service account instead of user credentials.\u003c/p\u003e\n"],["\u003cp\u003eIt imports credentials from a private key file, making them usable for \u003ccode\u003egdcloud\u003c/code\u003e requests.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--key-file\u003c/code\u003e flag, which specifies the path to the private key file, is a required flag when using this command.\u003c/p\u003e\n"],["\u003cp\u003eThis command is similar in functionality to \u003ccode\u003egdcloud auth login\u003c/code\u003e but uses a service account.\u003c/p\u003e\n"]]],[],null,["# gdcloud auth activate-service-account\n\nNAME\n----\n\ngdcloud auth activate-service-account - Authorize access to GDC air-gapped with a service account.\n\nSYNOPSIS\n--------\n\n gdcloud auth activate-service-account [flags]\n\nDESCRIPTION\n-----------\n\nAuthorize access to GDC air-gapped with a service account.\nTo allow gdcloud to make requests using service account credentials, use this command to import these credentials from a file that contains a private authorization key, and activate them for use in gdcloud. The \"gdcloud auth activate-service-account\" serves the same function as the \"gdcloud auth login\" command, but uses a service account rather than the user credentials.\n\n### EXAMPLES\n\n To authorize gdcloud to access GDC air-gapped using an existing service account, run:\n\n gdcloud auth activate-service-account --key-file=/path/key.json\n\n### REQUIRED FLAGS\n\n --key-file string Path to the private key file.\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/gdch/resources/gdcloud-reference/gdcloud) page."]]