Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
NOM
gdcloud auth print-identity-token : affiche un jeton d'identité pour le compte actif actuel.
SYNOPSIS
gdcloud auth print-identity-token [flags]
EXAMPLES
To print an identity token, run:
gdcloud auth print-identity-token
DRAPEAUX REQUIS
--audiences string Intended recipient of the token.
INDICATEURS FACULTATIFS
--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.
OPTIONS GCLOUD GÉNÉRALES
Ces options sont disponibles pour toutes les commandes : --configuration, --format, --help, --project, --quiet.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[[["\u003cp\u003eThe \u003ccode\u003egdcloud auth print-identity-token\u003c/code\u003e command is used to generate and display an identity token.\u003c/p\u003e\n"],["\u003cp\u003eIf no specific account is provided, the command uses the currently active account.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--audiences\u003c/code\u003e flag is a required parameter that specifies the intended recipient of the identity token.\u003c/p\u003e\n"],["\u003cp\u003eAn optional flag, \u003ccode\u003e--configuration\u003c/code\u003e, allows users to define the specific gdcloud configuration to be used.\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/appliance/resources/gdcloud-reference/gdcloud) page."]]