v1

latestSwagger 2.02026-08-04232286653.5 KB
Kubernetes Clusters

Returns credentials for the user to authenticate to the cluster.

post/projects/{project_id}/kubernetes/clusters/{cluster_id}/get-credentials

Path parameters

project_idstring required

ID of the project that owns the cluster.

cluster_idstring required

ID of the cluster.

Query parameters

auth_type'oidc' | 'admin_cert'

Type of credentials to return: oidc or admin_cert.

Response

cluster_addressstring required

Address of the Kubernetes cluster to authenticate to.

cluster_ca_certificatestring required

CA certificate of the Kubernetes cluster to authenticate to.

cluster_namestring required

Name of the Kubernetes cluster to authenticate to.

kube_configstring

Kubeconfig for the Kubernetes cluster to authenticate to.

user_client_certificatestring required

Client certificate the user presents to authenticate to the cluster.

user_client_keystring required

Private key associated with the user's client certificate.

user_namestring required

Name of the authenticating user.