Skip to main content
GET
Get cluster kubeconfig

Authorizations

Authorization
string
header
required

JWT tokens should be used with OIDC account (human to machine). JWT tokens used by the Qovery console to communicate with the API have a TTL. Curl Example ' curl https://console.qovery.com/organization -H "Authorization: Bearer $qovery_token" '

Path Parameters

organizationId
string<uuid>
required

Organization ID

clusterId
string<uuid>
required

Cluster ID

Query Parameters

with_token_from_cli
boolean

If true, the user auth part will have an exec command with qovery cli

read_only
boolean

If true, the kubeconfig exec plugin will request a read-only token backed by a Kubernetes ServiceAccount with the view ClusterRole

Response

Get kubeconfig of the cluster

The response is of type string.