gcloud beta anthos create-login-config

NAME
gcloud beta anthos create-login-config - generates a login configuration file
SYNOPSIS
gcloud beta anthos create-login-config --kubeconfig=KUBECONFIG [--merge-from=MERGE_FROM] [--output=OUTPUT] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) Generates the file containing configuration information developers will use to authenticate to an AWS Anthos cluster.
EXAMPLES
To generate the default login config file (kubectl-anthos-config.yaml) using the kubeconfig file 'my-kube-config.yaml':
gcloud beta anthos create-login-config --kubeconfig 'my-kube-config.yaml'

To generate a config named 'myconfg.yaml' the --kubeconfig file 'my-kube-config.yaml':

gcloud beta anthos create-login-config --kubeconfig 'my-kube-config.yaml' --output 'myconfg.yaml'
REQUIRED FLAGS
--kubeconfig=KUBECONFIG
Specifies the input kubeconfig file to access user cluster for login configuration data.
OPTIONAL FLAGS
--merge-from=MERGE_FROM
Specifies the file path of an existing login configuration file to merge with.
--output=OUTPUT
Destination to write login configuration file. Defaults to "kubectl-anthos-config.yaml".
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
This command is currently in beta and might change without notice. These variants are also available:
gcloud anthos create-login-config
gcloud alpha anthos create-login-config