NAME
    gcloud alpha anthos create-login-config - generates a login configuration
        file

SYNOPSIS
    gcloud alpha anthos create-login-config --kubeconfig=KUBECONFIG
        [--merge-from=MERGE_FROM] [--output=OUTPUT] [GCLOUD_WIDE_FLAG ...]

DESCRIPTION
    (ALPHA) 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 alpha anthos create-login-config \
            --kubeconfig 'my-kube-config.yaml'

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

        $ gcloud alpha 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 alpha and might change without notice. If this
    command fails with API permission errors despite specifying the correct
    project, you might be trying to access an API with an invitation-only early
    access allowlist. These variants are also available:

        $ gcloud anthos create-login-config

        $ gcloud beta anthos create-login-config

