Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
NOM
gdcloud auth login : autorise la gdcloud CLI à se connecter avec le fournisseur d'identité configuré.
SYNOPSIS
gdcloud auth login [flags]
DESCRIPTION
Autorisez la gcloud CLI à se connecter avec le fournisseur d'identité configuré.
La commande s'authentifie auprès de l'organisation actuelle.
Exécutez à nouveau la commande après avoir changé d'organisation.
Il exige que le certificat de l'autorité de certification (CA) pour la configuration de connexion soit installé dans le magasin de certificats approuvés.
Si le certificat CA n'est pas installé, utilisez l'indicateur --login-config-cert pour spécifier le chemin d'accès au certificat CA.
Un navigateur doit être installé sur l'appareil.
EXAMPLES
To sign in with the configured identity provider, run:
gdcloud auth login
INDICATEURS FACULTATIFS
--login-config-cert string (Optional) Absolute file path to the CA certificate file to be used for fetching login-config over HTTPS connection
--no-browser (Optional) Use this flag to authenticate the gdcloud CLI on a machine without a web browser.
--skip-kubeconfig-update (Optional) Skip updating the kubeconfig file for management API servers.
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 login\u003c/code\u003e command authorizes the gdcloud CLI to sign in with the configured identity provider.\u003c/p\u003e\n"],["\u003cp\u003eThis command is needed to authenticate with the current organization and should be re-run after switching organizations.\u003c/p\u003e\n"],["\u003cp\u003eIt requires a browser to be present on the device, but the \u003ccode\u003e--no-browser\u003c/code\u003e flag allows for authentication on a machine without a browser.\u003c/p\u003e\n"],["\u003cp\u003eAn optional \u003ccode\u003e--login-config-cert\u003c/code\u003e flag is available to specify the CA certificate file path if it is not installed in the trusted certificates store.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--skip-kubeconfig-update\u003c/code\u003e flag can be used to prevent the command from modifying the kubeconfig file for management API servers.\u003c/p\u003e\n"]]],[],null,["# gdcloud auth login\n\nNAME\n----\n\ngdcloud auth login - Authorize the gdcloud CLI to sign in with the configured identity provider.\n\nSYNOPSIS\n--------\n\n gdcloud auth login [flags]\n\nDESCRIPTION\n-----------\n\nAuthorize the gdcloud CLI to sign in with the configured identity provider.\nThe command authenticates with the current organization.\nRun the command again after switching organizations.\nIt requires that the certificate authority (CA) certificate for the login config is installed\nin the trusted certificates store.\nIf the CA certificate is not installed, use the --login-config-cert flag to specify the path\nto find the CA certificate.\nIt requires a browser to exist on the device.\n\n### EXAMPLES\n\n To sign in with the configured identity provider, run:\n\n gdcloud auth login\n\n### OPTIONAL FLAGS\n\n --login-config-cert string (Optional) Absolute file path to the CA certificate file to be used for fetching login-config over HTTPS connection\n --no-browser (Optional) Use this flag to authenticate the gdcloud CLI on a machine without a web browser.\n --skip-kubeconfig-update (Optional) Skip updating the kubeconfig file for management API servers.\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."]]