Skip to main content
This page explains how Managed Authentication generates Kubeconfig files for CoreWeave Kubernetes Service (CKS) clusters, describes the fields in a generated file, and lists common authentication errors and how to resolve them. In Kubernetes, Kubeconfig files are YAML configuration files that manage access to Kubernetes clusters. They specify the details needed to authenticate and interact with the cluster’s API server. With a Kubeconfig file, you can run commands without repeatedly providing connection details or credentials. Managed Auth generates Kubeconfig files for your CKS clusters from the Cloud Console. These Kubeconfig files follow the permissions configured for their related tokens and automatically embed the API Access Token. To generate a Kubeconfig file, follow the instructions in Manage API Access Tokens and Kubeconfig Files. The following example shows a Kubeconfig file generated by Managed Auth in the Cloud Console:
Generated Kubeconfig files contain the following values and might include additional values:

Authentication errors

The following errors can occur when you use a Managed Auth Kubeconfig file. For a complete guide to choosing an authentication method, see the Introduction to authentication and access control.
The managed endpoint returns 403 Forbidden for token problems, not 401 Unauthorized. A 401 on a CKS cluster points to an OIDC or unmanaged authentication issue instead. If several users share one token, its expiration or revocation blocks all of them at once. Give each user their own token.
Last modified on July 30, 2026