Skip to main content

fluidctl auth update-kubeconfig

Update kubeconfig with cluster credentials using exec authentication

Synopsis​

Update the local kubeconfig file with cluster information and configure it to use fluidctl exec authentication. This allows kubectl to automatically authenticate using your stored Atlas credentials.

fluidctl auth update-kubeconfig [flags]

Options​

  -c, --cluster-id string     Cluster ID
-h, --help help for update-kubeconfig
--kubeconfig string Path to kubeconfig file.
-P, --project string Project ID
-R, --region string Atlas region
--set-current-context Set the cluster context as current context (default true)
-U, --url string Atlas Server URL

Options inherited from parent commands​

      --client-id string       OAuth Client ID
--client-secret string OAuth Client Secret
-F, --format string Output format (json, yaml, table) (default "table")
-T, --token string Auth token

SEE ALSO​