1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-19 07:15:23 +00:00

gcloud: Wed Dec 6 10:10:36 UTC 2023

This commit is contained in:
Automated 2023-12-06 10:10:36 +00:00
parent d3074f94bb
commit f36750d203
469 changed files with 9617 additions and 1400 deletions

View file

@ -5,8 +5,8 @@ NAME
SYNOPSIS
gcloud alpha anthos auth login [--cluster=CLUSTER] [--dry-run]
[--kubeconfig=KUBECONFIG] [--login-config=LOGIN_CONFIG]
[--login-config-cert=LOGIN_CONFIG_CERT] [--set-preferred-auth]
[--user=USER] [GCLOUD_WIDE_FLAG ...]
[--login-config-cert=LOGIN_CONFIG_CERT] [--server=SERVER]
[--set-preferred-auth] [--user=USER] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Authenticate clusters using the Anthos client.
@ -28,6 +28,16 @@ EXAMPLES
$ gcloud alpha anthos auth login --cluster=testcluster \
--login-config=kubectl-anthos-config.yaml --dry-run
To add credentials to default kubeconfig file using server side login:
$ gcloud alpha anthos auth login --cluster=testcluster \
--server=<server-url>
To add credentials to custom kubeconfig file using server side login:
$ gcloud alpha anthos auth login --cluster=testcluster \
--server=<server-url> --kubeconfig=my.kubeconfig
FLAGS
--cluster=CLUSTER
Cluster to authenticate against. If no cluster is specified, the
@ -48,6 +58,9 @@ FLAGS
Specifies the CA certificate file to be added to trusted pool for
making HTTPS connections to a --login-config URL.
--server=SERVER
Specifies the URL of API server of the cluster to authenticate against.
--set-preferred-auth
If set, forces update of preferred authentication for given cluster