/gateway-create-k8s-auth-config

Body Params
string
required

The access ID of the Kubernetes auth method

string
Defaults to native_k8s

Cluster access type. options: [native_k8s, rancher]

string

Disable issuer validation [true/false]

boolean
Defaults to false

Set output format to JSON

string
Defaults to token

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

string

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

string

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

string

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

string
required

The URL of the kubernetes API server

string
Defaults to kubernetes/serviceaccount

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

string
required

K8S Auth config name

string

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

string

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

string
required

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

string

Authentication token (see /auth and /configure)

int64
Defaults to 300

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

string

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.

string

The universal identity token, Required only for universal_identity authentication

boolean

Use the GW's service account

Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
Footer Section