v1

latestOpenAPI 3.0.02026-07-246171,3332.1 MB
v2

post/get-kube-exec-creds

Request body

alt-namesstring

The Subject Alternative Names to be included in the PKI certificate (in a comma-separated list) (if CSR is supplied this flag is ignored and any DNS.* names are taken from it)

api-versionstring

Client authentication API version

cert-issuer-namestring required

The name of the PKI certificate issuer

common-namestring

The common name to be included in the PKI certificate (if CSR is supplied this flag is ignored and the CSR subject CN is taken)

csr-data-base64string

Certificate Signing Request contents encoded in base64 to generate the certificate with

extended-key-usagestring

A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth', 'codesigning'. If critical is present the extension will be marked as critical

extra-extensionsstring

A json string that defines the requested extra extensions for the certificate

jsonboolean

Set output format to JSON

key-data-base64string

PKI key file contents. If this option is used, the certificate will be printed to stdout

max-path-leninteger

The maximum path length for the generated certificate. -1, means unlimited unless the signing certificate has a maximum path length set

tokenstring

Authentication token (see /auth and /configure)

ttlstring

Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)

uid-tokenstring

The universal identity token, Required only for universal_identity authentication

uri-sansstring

The URI Subject Alternative Names to be included in the PKI certificate (in a comma-separated list) (if CSR is supplied this flag is ignored and any URI.* names are taken from it)

Response

getKubeExecCredsResponse wraps response body.

apiVersionstring
kindstring