download_cluster_kubeconfig
Re-download a long-lived kubeconfig credential for a managed Kubernetes cluster by credential ID. Returns raw kubeconfig YAML with an embedded bearer token.
Instructions
Re-download a LONG-LIVED kubeconfig credential for a managed Kubernetes cluster by its credential id — a revocable, per-credential ServiceAccount kubeconfig for standing automation that must keep working (unlike the short-lived admin config from get_cluster_kubeconfig). Works for ACTIVE credentials only; revoked or expired credentials return an error. SECURITY: the result is a LIVE CREDENTIAL — a kubeconfig YAML embedding a bearer token. Treat it as a secret: do NOT echo it back to the user or repeat its contents unless the user explicitly asks to see it; pass it straight to the tool that consumes it. Returns the raw kubeconfig YAML as a text block. service_id and credential_id both come from list_cluster_kubeconfigs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service_id | Yes | Managed-Kubernetes service ID from list_services (a cloud-k8s service). | |
| credential_id | Yes | Long-lived credential id from list_cluster_kubeconfigs (an active credential). |