# Generate a new Kubeconfig file for a SKS cluster **POST /sks-cluster-kubeconfig/{id}** This operation returns a Kubeconfig file encoded in base64. ## Servers - https://api-ch-gva-2.exoscale.com/v2: https://api-ch-gva-2.exoscale.com/v2 () ## Parameters ### Path parameters - **id** (string(uuid)) ### Body: application/json (object) - **ttl** (integer(int64)) Validity in seconds of the Kubeconfig user certificate (default: 30 days) - **user** (string) User name in the generated Kubeconfig. The certificate present in the Kubeconfig will also have this name set for the CN field. - **groups** (array[string]) List of roles. The certificate present in the Kubeconfig will have these roles set in the Org field. ## Responses ### 200 200 #### Body: application/json (object) - **kubeconfig** (string) [Powered by Bump.sh](https://bump.sh)