To print an identity token, run:
gdcloud auth print-identity-token
必要標記
--audiences string Intended recipient of the token.
選用旗標
--zone string Zone to use for this invocation. To preset the zone flag for all commands that require it, run: "gdcloud config set core/zone ZONE". The zone flag is available only in multi-zone environments.
[[["容易理解","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 (世界標準時間)。"],[[["\u003cp\u003e\u003ccode\u003egdcloud auth print-identity-token\u003c/code\u003e is a command used to print an identity token for the currently active account.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--audiences\u003c/code\u003e flag is required and specifies the intended recipient of the identity token.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--zone\u003c/code\u003e flag is optional and can be used to specify the zone, but only in multi-zone environments.\u003c/p\u003e\n"],["\u003cp\u003eStandard gdcloud-wide flags like \u003ccode\u003e--configuration\u003c/code\u003e, \u003ccode\u003e--format\u003c/code\u003e, \u003ccode\u003e--help\u003c/code\u003e, \u003ccode\u003e--project\u003c/code\u003e, and \u003ccode\u003e--quiet\u003c/code\u003e are available for use with this command.\u003c/p\u003e\n"]]],[],null,["# gdcloud auth print-identity-token\n\nNAME\n----\n\ngdcloud auth print-identity-token - Print an identity token for the current active account.\n\nSYNOPSIS\n--------\n\n gdcloud auth print-identity-token [flags]\n\n### EXAMPLES\n\n To print an identity token, run:\n\n gdcloud auth print-identity-token\n\n### REQUIRED FLAGS\n\n --audiences string Intended recipient of the token.\n\n### OPTIONAL FLAGS\n\n --zone string Zone to use for this invocation. To preset the zone flag for all commands that require it, run: \"gdcloud config set core/zone ZONE\". The zone flag is available only in multi-zone environments.\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."]]