Skip to main content
POST
Mint a short-lived Kubernetes credential for a granted cluster

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

cluster_name
string
required

Query Parameters

pool
string | null

Pool to mint for. Only needed when you hold grants on more than one pool of this cluster.

Response

Successful Response

client.authentication.k8s.io/v1 ExecCredential — the exact shape kubectl expects back from a credential plugin on stdout.

status
Status · object
required
apiVersion
string
default:client.authentication.k8s.io/v1
kind
string
default:ExecCredential