Akeyless Gateway Create K8s Auth Config API

The Gateway Create K8s Auth Config API from Akeyless — 1 operation(s) for gateway create k8s auth config.

Business capability
Identity & Access Management BC-620.20

Operations 1

POST /gateway-create-k8s-auth-config Gateway create K8S auth config #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/akeyless:akeyless-gateway-create-k8s-auth-config-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

akeyless-gateway-create-k8s-auth-config-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: support@akeyless.io
    name: Akeyless
    url: http://akeyless.io
  description: The purpose of this application is to provide access to Akeyless API.
  title: Akeyless Gateway Create K8s Auth Config API
  version: '2.0'
servers:
- url: https://api.akeyless.io/
tags:
- name: Gateway Create K8s Auth Config
paths:
  /gateway-create-k8s-auth-config:
    post:
      operationId: gatewayCreateK8SAuthConfig
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/gatewayCreateK8SAuthConfig'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/gatewayCreateK8SAuthConfigOutput'
          description: gatewayCreateK8SAuthConfigResponse wraps response body.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JSONError'
          description: 'errorResponse wraps any error to return it as a JSON object with one "error"

            field.'
      tags:
      - Gateway Create K8s Auth Config
      x-codegen-request-body-name: body
      summary: Gateway create K8S auth config
      x-summary-source: derived
components:
  schemas:
    gatewayCreateK8SAuthConfig:
      description: gatewayCreateK8SAuth is a command that creates k8s auth config
      properties:
        access-id:
          description: The access ID of the Kubernetes auth method
          type: string
          x-go-name: AuthMethodAccessId
        cluster-api-type:
          default: native_k8s
          description: 'Cluster access type. options: [native_k8s, rancher]'
          type: string
          x-go-name: ClusterApiType
        config-encryption-key-name:
          description: Config encryption key
          type: string
          x-go-name: ConfigEncryptionKey
        disable-issuer-validation:
          description: Disable issuer validation
          type: string
          x-go-name: DisableISSValidation
        json:
          description: Set output format to JSON
          type: boolean
          x-go-name: Json
        k8s-ca-cert:
          description: The CA Certificate (base64 encoded) to use to call into the kubernetes API server
          type: string
          x-go-name: K8SCACert
        k8s-host:
          description: The URL of the kubernetes API server
          type: string
          x-go-name: K8SHost
        k8s-issuer:
          description: The Kubernetes JWT issuer name. If not set, kubernetes/serviceaccount will use as an issuer.
          type: string
          x-go-name: K8SIssuer
        name:
          description: K8S Auth config name
          type: string
          x-go-name: K8SAuthConfigName
        rancher-api-key:
          description: The api key used to access the TokenReview API to validate other JWTs (relevant for "rancher" only)
          type: string
          x-go-name: RancherApiKey
        rancher-cluster-id:
          description: The cluster id as define in rancher (relevant for "rancher" only)
          type: string
          x-go-name: RancherClusterId
        signing-key:
          description: The private key (base64 encoded) associated with the public key defined in the Kubernetes auth
          type: string
          x-go-name: AuthMethodSigningKey
        token:
          description: Authentication token (see `/auth` and `/configure`)
          type: string
          x-go-name: Profile
        token-exp:
          default: 300
          description: Time in seconds of expiration of the Akeyless Kube Auth Method token
          format: int64
          type: integer
          x-go-name: AuthMethodTokenExpiration
        token-reviewer-jwt:
          description: '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.'
          type: string
          x-go-name: K8STokenReviewerJWT
        uid-token:
          description: The universal identity token, Required only for universal_identity authentication
          type: string
          x-go-name: UIDToken
      required:
      - access-id
      - k8s-host
      - name
      - signing-key
      type: object
      x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands
    gatewayCreateK8SAuthConfigOutput:
      example:
        cluster_id: cluster_id
        total_hash: total_hash
        parts_change:
          required_activity:
            migrations_required_activity:
              key: true
          last_change:
            last_k8s_auths_change:
              created_k8s_auths_ids:
              - created_k8s_auths_ids
              - created_k8s_auths_ids
              deleted_k8s_auths_ids:
              - deleted_k8s_auths_ids
              - deleted_k8s_auths_ids
              changed_k8s_auths_ids:
              - changed_k8s_auths_ids
              - changed_k8s_auths_ids
            last_migrations_change:
              deleted_migrations:
              - deleted_migrations
              - deleted_migrations
              changed_migrations:
              - changed_migrations
              - changed_migrations
              created_migrations:
              - created_migrations
              - created_migrations
          last_status:
            migrations_status:
              last_messages:
                key: last_messages
              last_reports:
                key: last_reports
              last_statuses:
                key: last_statuses
            producers_errors: '{}'
          update_stamp: 0
          config_hash:
            k8s_auths: k8s_auths
            cache: cache
            migration_status: migration_status
            producers_status: producers_status
            universal_identity: universal_identity
            customer_fragements: customer_fragements
            m_queue: m_queue
            producers: '{}'
            general: general
            ldap: ldap
            migrations: migrations
            leadership: leadership
            log_forwarding: log_forwarding
            saml: saml
            kmip: kmip
            admins: admins
            rotators: '{}'
      properties:
        cluster_id:
          type: string
          x-go-name: ClusterId
        parts_change:
          $ref: '#/components/schemas/ConfigChange'
        total_hash:
          type: string
          x-go-name: TotalHash
      type: object
      x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands
    RequiredActivity:
      example:
        migrations_required_activity:
          key: true
      properties:
        migrations_required_activity:
          additionalProperties:
            type: boolean
          type: object
          x-go-name: Migrations
      type: object
      x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/akeyless-api/gator
    MigrationsConfigLastChange:
      example:
        deleted_migrations:
        - deleted_migrations
        - deleted_migrations
        changed_migrations:
        - changed_migrations
        - changed_migrations
        created_migrations:
        - created_migrations
        - created_migrations
      properties:
        changed_migrations:
          items:
            type: string
          type: array
          x-go-name: ChangedMigrations
        created_migrations:
          items:
            type: string
          type: array
          x-go-name: CreatedMigrations
        deleted_migrations:
          items:
            type: string
          type: array
          x-go-name: DeletedMigrations
      type: object
      x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/akeyless-api/gator
    LastStatusInfo:
      example:
        migrations_status:
          last_messages:
            key: last_messages
          last_reports:
            key: last_reports
          last_statuses:
            key: last_statuses
        producers_errors: '{}'
      properties:
        migrations_status:
          $ref: '#/components/schemas/MigrationStatus'
        producers_errors:
          type: object
          x-go-name: Producers
      type: object
      x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/akeyless-api/gator
    MigrationStatus:
      example:
        last_messages:
          key: last_messages
        last_reports:
          key: last_reports
        last_statuses:
          key: last_statuses
      properties:
        last_messages:
          additionalProperties:
            type: string
          type: object
          x-go-name: LastMessages
        last_reports:
          additionalProperties:
            type: string
          type: object
          x-go-name: LastReports
        last_statuses:
          additionalProperties:
            type: string
          type: object
          x-go-name: LastStatuses
      type: object
      x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/akeyless-api/gator
    ConfigChange:
      example:
        required_activity:
          migrations_required_activity:
            key: true
        last_change:
          last_k8s_auths_change:
            created_k8s_auths_ids:
            - created_k8s_auths_ids
            - created_k8s_auths_ids
            deleted_k8s_auths_ids:
            - deleted_k8s_auths_ids
            - deleted_k8s_auths_ids
            changed_k8s_auths_ids:
            - changed_k8s_auths_ids
            - changed_k8s_auths_ids
          last_migrations_change:
            deleted_migrations:
            - deleted_migrations
            - deleted_migrations
            changed_migrations:
            - changed_migrations
            - changed_migrations
            created_migrations:
            - created_migrations
            - created_migrations
        last_status:
          migrations_status:
            last_messages:
              key: last_messages
            last_reports:
              key: last_reports
            last_statuses:
              key: last_statuses
          producers_errors: '{}'
        update_stamp: 0
        config_hash:
          k8s_auths: k8s_auths
          cache: cache
          migration_status: migration_status
          producers_status: producers_status
          universal_identity: universal_identity
          customer_fragements: customer_fragements
          m_queue: m_queue
          producers: '{}'
          general: general
          ldap: ldap
          migrations: migrations
          leadership: leadership
          log_forwarding: log_forwarding
          saml: saml
          kmip: kmip
          admins: admins
          rotators: '{}'
      properties:
        config_hash:
          $ref: '#/components/schemas/ConfigHash'
        last_change:
          $ref: '#/components/schemas/LastConfigChange'
        last_status:
          $ref: '#/components/schemas/LastStatusInfo'
        required_activity:
          $ref: '#/components/schemas/RequiredActivity'
        update_stamp:
          format: int64
          type: integer
          x-go-name: UpdateStamp
      type: object
      x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/akeyless-api/gator
    LastConfigChange:
      example:
        last_k8s_auths_change:
          created_k8s_auths_ids:
          - created_k8s_auths_ids
          - created_k8s_auths_ids
          deleted_k8s_auths_ids:
          - deleted_k8s_auths_ids
          - deleted_k8s_auths_ids
          changed_k8s_auths_ids:
          - changed_k8s_auths_ids
          - changed_k8s_auths_ids
        last_migrations_change:
          deleted_migrations:
          - deleted_migrations
          - deleted_migrations
          changed_migrations:
          - changed_migrations
          - changed_migrations
          created_migrations:
          - created_migrations
          - created_migrations
      properties:
        last_k8s_auths_change:
          $ref: '#/components/schemas/K8SAuthsConfigLastChange'
        last_migrations_change:
          $ref: '#/components/schemas/MigrationsConfigLastChange'
      type: object
      x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/akeyless-api/gator
    K8SAuthsConfigLastChange:
      example:
        created_k8s_auths_ids:
        - created_k8s_auths_ids
        - created_k8s_auths_ids
        deleted_k8s_auths_ids:
        - deleted_k8s_auths_ids
        - deleted_k8s_auths_ids
        changed_k8s_auths_ids:
        - changed_k8s_auths_ids
        - changed_k8s_auths_ids
      properties:
        changed_k8s_auths_ids:
          items:
            type: string
          type: array
          x-go-name: ChangedK8SAuthsIDs
        created_k8s_auths_ids:
          items:
            type: string
          type: array
          x-go-name: CreatedK8SAuthsIDs
        deleted_k8s_auths_ids:
          items:
            type: string
          type: array
          x-go-name: DeletedK8SAuthsIDs
      type: object
      x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/akeyless-api/gator
    JSONError:
      properties:
        error:
          type: string
          x-go-name: Err
      title: JSONError wraps an error with JSON object.
      type: object
      x-go-package: akeyless.io/akeyless-main-repo/go/src/client
    ConfigHash:
      example:
        k8s_auths: k8s_auths
        cache: cache
        migration_status: migration_status
        producers_status: producers_status
        universal_identity: universal_identity
        customer_fragements: customer_fragements
        m_queue: m_queue
        producers: '{}'
        general: general
        ldap: ldap
        migrations: migrations
        leadership: leadership
        log_forwarding: log_forwarding
        saml: saml
        kmip: kmip
        admins: admins
        rotators: '{}'
      properties:
        admins:
          type: string
          x-go-name: Admins
        cache:
          type: string
          x-go-name: Cache
        customer_fragements:
          type: string
          x-go-name: CFragements
        general:
          type: string
          x-go-name: General
        k8s_auths:
          type: string
          x-go-name: K8SAuths
        kmip:
          type: string
          x-go-name: KMIP
        ldap:
          type: string
          x-go-name: Ldap
        leadership:
          type: string
          x-go-name: Leadership
        log_forwarding:
          type: string
          x-go-name: LogForwarding
        m_queue:
          type: string
          x-go-name: MQueue
        migration_status:
          type: string
          x-go-name: MigrationStatus
        migrations:
          type: string
          x-go-name: Migrations
        producers:
          type: object
          x-go-name: Producers
        producers_status:
          type: string
          x-go-name: ProducersStatus
        rotators:
          type: object
          x-go-name: Rotators
        saml:
          type: string
          x-go-name: Default
        universal_identity:
          type: string
          x-go-name: UIdentity
      type: object
      x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/akeyless-api/gator