activate-service-account
Authorize access to GDC air-gapped with a service account.
configure-docker
Configure Docker authentication after signing in to the gdcloud CLI.
login
Authorize the gdcloud CLI to sign in with the configured identity provider.
print-identity-token
Print an identity token for the current active account.
revoke
Revoke the authentication credentials of an account from GDCH.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[[["\u003cp\u003e\u003ccode\u003egdcloud auth\u003c/code\u003e is used to manage authentication settings for the gdcloud CLI.\u003c/p\u003e\n"],["\u003cp\u003eYou can use it to grant or revoke authorization for the CLI.\u003c/p\u003e\n"],["\u003cp\u003eIt also allows you to configure Docker authentication and print identity tokens.\u003c/p\u003e\n"],["\u003cp\u003eThe available commands include \u003ccode\u003eactivate-service-account\u003c/code\u003e, \u003ccode\u003econfigure-docker\u003c/code\u003e, \u003ccode\u003elogin\u003c/code\u003e, \u003ccode\u003eprint-identity-token\u003c/code\u003e, and \u003ccode\u003erevoke\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--help\u003c/code\u003e flag is available for all \u003ccode\u003egdcloud\u003c/code\u003e commands.\u003c/p\u003e\n"]]],[],null,["# gdcloud auth\n\nNAME\n----\n\ngdcloud auth - Configure authentication settings.\n\nSYNOPSIS\n--------\n\n gdcloud auth COMMAND [flags]\n\nDESCRIPTION\n-----------\n\nConfigure authentication settings.\nGrant and revoke authorization to gdcloud CLI.\nAlso, print identity tokens and configure Docker authentication.\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--help`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/gdch/resources/gdcloud-reference/gdcloud) page.\n\n### COMMANDS\n\n`COMMAND` is one of the following: \n\n activate-service-account\n Authorize access to GDC air-gapped with a service account.\n configure-docker\n Configure Docker authentication after signing in to the gdcloud CLI.\n login\n Authorize the gdcloud CLI to sign in with the configured identity provider.\n print-identity-token\n Print an identity token for the current active account.\n revoke\n Revoke the authentication credentials of an account from GDCH."]]