v1

latestOpenAPI 3.0.02026-07-246171,3332.1 MB
v2

post/gateway-create-k8s-auth-config

Request body

access-idstring required

The access ID of the Kubernetes auth method

cluster-api-typestring

Cluster access type. options: [native_k8s, rancher]

disable-issuer-validationstring

Disable issuer validation [true/false]

jsonboolean

Set output format to JSON

k8s-auth-typestring

K8S auth type [token/certificate]. (relevant for "native_k8s" only)

k8s-ca-certstring

The CA Certificate (base64 encoded) to use to call into the kubernetes API server

k8s-client-certificatestring

Content of the k8 client certificate (PEM format) in a Base64 format (relevant for "native_k8s" only)

k8s-client-keystring

Content of the k8 client private key (PEM format) in a Base64 format (relevant for "native_k8s" only)

k8s-hoststring required

The URL of the kubernetes API server

k8s-issuerstring

The Kubernetes JWT issuer name. K8SIssuer is the claim that specifies who issued the Kubernetes token

namestring required

K8S Auth config name

rancher-api-keystring

The api key used to access the TokenReview API to validate other JWTs (relevant for "rancher" only)

rancher-cluster-idstring

The cluster id as define in rancher (relevant for "rancher" only)

signing-keystring required

The private key (base64 encoded) associated with the public key defined in the Kubernetes auth

tokenstring

Authentication token (see /auth and /configure)

token-expinteger

Time in seconds of expiration of the Akeyless Kube Auth Method token

token-reviewer-jwtstring

A Kubernetes service account JWT used to access the TokenReview API to validate other JWTs (relevant for "native_k8s" only). If not set, the JWT submitted in the authentication process will be used to access the Kubernetes TokenReview API.

uid-tokenstring

The universal identity token, Required only for universal_identity authentication

use-gw-service-accountboolean

Use the GW's service account

Response

gatewayCreateK8SAuthConfigResponse wraps response body.

cluster_idstring
total_hashstring