mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Wed Dec 6 10:10:36 UTC 2023
This commit is contained in:
parent
d3074f94bb
commit
f36750d203
469 changed files with 9617 additions and 1400 deletions
|
|
@ -4,8 +4,8 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud 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
|
||||
Authenticate clusters using the Anthos client.
|
||||
|
|
@ -27,6 +27,16 @@ EXAMPLES
|
|||
$ gcloud 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 anthos auth login --cluster=testcluster \
|
||||
--server=<server-url>
|
||||
|
||||
To add credentials to custom kubeconfig file using server side login:
|
||||
|
||||
$ gcloud anthos auth login --cluster=testcluster \
|
||||
--server=<server-url> --kubeconfig=my.kubeconfig
|
||||
|
||||
FLAGS
|
||||
--cluster=CLUSTER
|
||||
Cluster to authenticate against. If no cluster is specified, the
|
||||
|
|
@ -47,6 +57,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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue