cURL
curl --request POST \ --url https://api.cpln.io/org/{org}/mk8s/{name}/-kubeconfig \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{}'
{ "kubeconfig": "<string>", "fileName": "<string>" }
The kubeconfig will use the cpln CLI as an auth provider. The response contains not secrets as the cpln CLI is used for authorization
Service account key can be used as API keys
The body is of type object.
object
Created