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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"service_id": "<service_id>",
"credential_id": "<credential_id>"
},
"name": "download_cluster_kubeconfig"
}
}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). |