Stay organized with collections
Save and categorize content based on your preferences.
NAME
gdcloud auth login - Authorize the gdcloud CLI to sign in with the configured identity provider.
SYNOPSIS
gdcloud auth login [flags]
DESCRIPTION
Authorize the gdcloud CLI to sign in with the configured identity provider.
The command authenticates with the current organization.
Run the command again after switching organizations.
It requires that the certificate authority (CA) certificate for the login config is installed
in the trusted certificates store.
If the CA certificate is not installed, use the --login-config-cert flag to specify the path
to find the CA certificate.
It requires a browser to exist on the device.
EXAMPLES
To sign in with the configured identity provider, run:
gdcloud auth login
OPTIONAL FLAGS
--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.
GDCLOUD WIDE FLAGS
These flags are available to all commands: --configuration, --format, --help, --project, --quiet.
[[["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-07-10 UTC."],[[["The `gdcloud auth login` command authorizes the gdcloud CLI to sign in with the configured identity provider."],["This command is needed to authenticate with the current organization and should be re-run after switching organizations."],["It requires a browser to be present on the device, but the `--no-browser` flag allows for authentication on a machine without a browser."],["An optional `--login-config-cert` flag is available to specify the CA certificate file path if it is not installed in the trusted certificates store."],["The `--skip-kubeconfig-update` flag can be used to prevent the command from modifying the kubeconfig file for management API servers."]]],[]]