- INFORMATION
-
gcloud anthos create-login-configis not available in universe domainuniverse. - NAME
-
- gcloud anthos create-login-config - generates a login configuration file
- SYNOPSIS
-
-
gcloud anthos create-login-config--kubeconfig=KUBECONFIG[--merge-from=MERGE_FROM] [--output=OUTPUT] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- 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 anthos create-login-config --kubeconfig 'my-kube-config.yaml'To generate a config named 'myconfg.yaml' the --kubeconfig file 'my-kube-config.yaml':
gcloud 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 helpfor details. - NOTES
-
These variants are also available:
gcloud alpha anthos create-login-configgcloud beta anthos create-login-config
gcloud anthos create-login-config
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-07 UTC."],[],[]]