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

gcloud: Tue Mar 1 04:29:52 UTC 2022

This commit is contained in:
Automated 2022-03-01 04:29:52 +00:00
parent aab53307a8
commit 1456dab6c7
9791 changed files with 814712 additions and 0 deletions

29
gcloud/anthos/auth/help Normal file
View file

@ -0,0 +1,29 @@
NAME
gcloud anthos auth - authenticate clusters using the Anthos client
SYNOPSIS
gcloud anthos auth COMMAND [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Authenticate clusters using the Anthos client.
For more details on Anthos, see https://cloud.google.com/anthos/.
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMANDS
COMMAND is one of the following:
login
Authenticate clusters using the Anthos client.
NOTES
These variants are also available:
$ gcloud alpha anthos auth
$ gcloud beta anthos auth

71
gcloud/anthos/auth/login Normal file
View file

@ -0,0 +1,71 @@
NAME
gcloud anthos auth login - authenticate clusters using the Anthos client
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 ...]
DESCRIPTION
Authenticate clusters using the Anthos client.
EXAMPLES
To add credentials to default kubeconfig file:
$ gcloud anthos auth login --cluster=testcluster \
--login-config=kubectl-anthos-config.yaml
To add credentials to custom kubeconfig file:
$ gcloud anthos auth login --cluster=testcluster \
--login-config=kubectl-anthos-config.yaml \
--kubeconfig=my.kubeconfig
To generate the commands without executing them:
$ gcloud anthos auth login --cluster=testcluster \
--login-config=kubectl-anthos-config.yaml --dry-run
FLAGS
--cluster=CLUSTER
Cluster to authenticate against. If no cluster is specified, the
command will print a list of available options.
--dry-run
Print out the generated kubectl commands but do not execute them.
--kubeconfig=KUBECONFIG
Specifies the destination kubeconfig file where credentials will be
stored.
--login-config=LOGIN_CONFIG
Specifies the configuration yaml file for login. Can be a file path or
a URL.
--login-config-cert=LOGIN_CONFIG_CERT
Specifies the CA certificate file to be added to trusted pool for
making HTTPS connections to a --login-config URL.
--set-preferred-auth
If set, forces update of preferred authentication for given cluster
--user=USER
If configuring multiple user accounts in the same kubecconfig file, you
can specify a user to differentiate between them.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
These variants are also available:
$ gcloud alpha anthos auth login
$ gcloud beta anthos auth login