gdcloud iam service-accounts keys delete - 서비스 계정에서 공개 키를 삭제합니다.
개요
gdcloud iam service-accounts keys delete KEY_ID [flags]
설명
프로젝트의 서비스 계정에서 공개 키를 삭제하면 연결된 비공개 키가 무효화됩니다. 공개 키의 ID를 제공해야 합니다. 'gdcloud iam service-accounts keys list' 명령어를 실행하여 서비스 계정의 모든 공개 키 ID를 나열할 수 있습니다.
EXAMPLES
To delete a public key with ID "ab98fa9a-dae0-401f" from service account "psa-test" in project "iam-test", run:
gdcloud iam service-accounts keys delete ab98fa9a-dae0-401f --iam-account=psa-test --project=iam-test
필수 플래그
--iam-account string Project's service account to delete the public key from. The flag is required to run the command.
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 deletes a specified public key from a project's service account, rendering the corresponding private key invalid.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKEY_ID\u003c/code\u003e of the public key to be deleted is required and can be obtained using the \u003ccode\u003egdcloud iam service-accounts keys list\u003c/code\u003e command.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--iam-account\u003c/code\u003e flag is mandatory and specifies the service account from which the public key should be deleted.\u003c/p\u003e\n"],["\u003cp\u003eThe command requires a specified key id as well as the service account it is attached to in order to operate.\u003c/p\u003e\n"],["\u003cp\u003eAn example command to delete a key is provided, showing all necessary syntax and flags to do so.\u003c/p\u003e\n"]]],[],null,["# gdcloud iam service-accounts keys delete\n\nNAME\n----\n\ngdcloud iam service-accounts keys delete - Delete a public key from a service account.\n\nSYNOPSIS\n--------\n\n gdcloud iam service-accounts keys delete KEY_ID [flags]\n\nDESCRIPTION\n-----------\n\nDelete a public key from a project's service account, and the associated private key becomes invalid. The ID of the public key must be provided. You can run command \"gdcloud iam service-accounts keys list\" to list the ID of all the public keys from a service account.\n\n### EXAMPLES\n\n\n To delete a public key with ID \"ab98fa9a-dae0-401f\" from service account \"psa-test\" in project \"iam-test\", run:\n\n gdcloud iam service-accounts keys delete ab98fa9a-dae0-401f --iam-account=psa-test --project=iam-test\n\n### REQUIRED FLAGS\n\n --iam-account string Project's service account to delete the public key from. The flag is required to run the command.\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."]]