Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
NOM
gdcloud auth : configurez les paramètres d'authentification.
SYNOPSIS
gdcloud auth COMMAND [flags]
DESCRIPTION
Configurez les paramètres d'authentification.
Accorder et révoquer l'autorisation sur la gcloud CLI.
Imprimez également les jetons d'identité et configurez l'authentification Docker.
OPTIONS GCLOUD GÉNÉRALES
Ces options sont disponibles pour toutes les commandes : --help.
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.
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\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."]]