/auth-method-create-k8s

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

authMethodCreateK8s is a command that creates a new auth method that will
be able to authenticate using K8S.

int64
Defaults to 0

Access expiration date in Unix timestamp (select 0 for access without
expiry date)

allowed-client-type
array of strings

limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]

allowed-client-type
string

The audience in the Kubernetes JWT that the access is restricted to

audit-logs-claims
array of strings

Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"

audit-logs-claims
bound-ips
array of strings

A CIDR whitelist with the IPs that the access is restricted to

bound-ips
bound-namespaces
array of strings

A list of namespaces that the access is restricted to

bound-namespaces
bound-pod-names
array of strings

A list of pod names that the access is restricted to

bound-pod-names
bound-sa-names
array of strings

A list of service account names that the access is restricted to

bound-sa-names
string

Protection from accidental deletion of this object [true/false]

string

Auth Method description

expiration-event-in
array of strings

How many days before the expiration of the auth method would you like to be notified.

expiration-event-in
boolean

if true: enforce role-association must include sub claims

string
Defaults to true

Automatically generate key-pair for K8S configuration. If set to false, a public key needs to be provided [true/false]

gw-bound-ips
array of strings

A CIDR whitelist with the GW IPs that the access is restricted to

gw-bound-ips
boolean
Defaults to false

Set output format to JSON

int64
Defaults to 0

Jwt TTL

string
required

Auth Method name

string

Auth Method owner (free text, up to 255 characters). On update, omit to keep the current owner
and pass an empty value to clear it

product-type
array of strings

Choose the relevant product type for the auth method [sm, sra, pm, dp, ca, ara]

product-type
string

Base64-encoded or PEM formatted public key data for K8S authentication method is required [RSA2048]

string

Authentication token (see /auth and /configure)

string

The universal identity token, Required only for universal_identity authentication

Responses

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