Skip to content

Latest commit

 

History

History
54 lines (48 loc) · 3.14 KB

GatewayCreateK8SAuthConfig.md

File metadata and controls

54 lines (48 loc) · 3.14 KB

Akeyless::GatewayCreateK8SAuthConfig

Properties

Name Type Description Notes
access_id String The access ID of the Kubernetes auth method
cluster_api_type String Cluster access type. options: [native_k8s, rancher] [optional][default to 'native_k8s']
disable_issuer_validation String Disable issuer validation [true/false] [optional]
json Boolean Set output format to JSON [optional][default to false]
k8s_auth_type String K8S auth type [token/certificate]. (relevant for "native_k8s" only) [optional][default to 'token']
k8s_ca_cert String The CA Certificate (base64 encoded) to use to call into the kubernetes API server [optional]
k8s_client_certificate String Content of the k8 client certificate (PEM format) in a Base64 format (relevant for "native_k8s" only) [optional]
k8s_client_key String Content of the k8 client private key (PEM format) in a Base64 format (relevant for "native_k8s" only) [optional]
k8s_host String The URL of the kubernetes API server
k8s_issuer String The Kubernetes JWT issuer name. K8SIssuer is the claim that specifies who issued the Kubernetes token [optional][default to 'kubernetes/serviceaccount']
name String K8S Auth config name
rancher_api_key String The api key used to access the TokenReview API to validate other JWTs (relevant for "rancher" only) [optional]
rancher_cluster_id String The cluster id as define in rancher (relevant for "rancher" only) [optional]
signing_key String The private key (base64 encoded) associated with the public key defined in the Kubernetes auth
token String Authentication token (see `/auth` and `/configure`) [optional]
token_exp Integer Time in seconds of expiration of the Akeyless Kube Auth Method token [optional][default to 300]
token_reviewer_jwt 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. [optional]
uid_token String The universal identity token, Required only for universal_identity authentication [optional]
use_gw_service_account Boolean Use the GW's service account [optional]

Example

require 'akeyless'

instance = Akeyless::GatewayCreateK8SAuthConfig.new(
  access_id: null,
  cluster_api_type: null,
  disable_issuer_validation: null,
  json: null,
  k8s_auth_type: null,
  k8s_ca_cert: null,
  k8s_client_certificate: null,
  k8s_client_key: null,
  k8s_host: null,
  k8s_issuer: null,
  name: null,
  rancher_api_key: null,
  rancher_cluster_id: null,
  signing_key: null,
  token: null,
  token_exp: null,
  token_reviewer_jwt: null,
  uid_token: null,
  use_gw_service_account: null
)