Kong · Capability

Kong Enterprise Admin API — MTLS-auth credentials

Kong Enterprise Admin API — MTLS-auth credentials. 3 operations. Lead operation: Create a new MTLS-auth credential associated with a Consumer. Self-contained Naftiko capability covering one Kong business surface.

Run with Naftiko KongMTLS-auth credentials

What You Can Do

POST
Createmtlsauthwithconsumer — Create a new MTLS-auth credential associated with a Consumer
/v1/{workspace}/consumers/{consumeridfornestedentities}/mtls-auth
DELETE
Deletemtlsauthwithconsumer — Delete a a MTLS-auth credential associated with a Consumer
/v1/{workspace}/consumers/{consumeridfornestedentities}/mtls-auth/{mtlsauthid}
GET
Getmtlsauthwithconsumer — Get a MTLS-auth credential associated with a Consumer
/v1/{workspace}/consumers/{consumeridfornestedentities}/mtls-auth/{mtlsauthid}

MCP Tools

create-new-mtls-auth-credential

Create a new MTLS-auth credential associated with a Consumer

delete-mtls-auth-credential-associated

Delete a a MTLS-auth credential associated with a Consumer

idempotent
get-mtls-auth-credential-associated

Get a MTLS-auth credential associated with a Consumer

read-only idempotent

Capability Spec

gateway-admin-mtls-auth-credentials.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Kong Enterprise Admin API — MTLS-auth credentials
  description: 'Kong Enterprise Admin API — MTLS-auth credentials. 3 operations. Lead operation: Create a new MTLS-auth credential
    associated with a Consumer. Self-contained Naftiko capability covering one Kong business surface.'
  tags:
  - Kong
  - MTLS-auth credentials
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    KONG_API_KEY: KONG_API_KEY
capability:
  consumes:
  - type: http
    namespace: gateway-admin-mtls-auth-credentials
    baseUri: ''
    description: Kong Enterprise Admin API — MTLS-auth credentials business capability. Self-contained, no shared references.
    resources:
    - name: workspace-consumers-ConsumerIdForNestedEntities-mtls-auth
      path: /{workspace}/consumers/{ConsumerIdForNestedEntities}/mtls-auth
      operations:
      - name: createmtlsauthwithconsumer
        method: POST
        description: Create a new MTLS-auth credential associated with a Consumer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: workspace-consumers-ConsumerIdForNestedEntities-mtls-auth-MTLSAuthId
      path: /{workspace}/consumers/{ConsumerIdForNestedEntities}/mtls-auth/{MTLSAuthId}
      operations:
      - name: deletemtlsauthwithconsumer
        method: DELETE
        description: Delete a a MTLS-auth credential associated with a Consumer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getmtlsauthwithconsumer
        method: GET
        description: Get a MTLS-auth credential associated with a Consumer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: Kong-Admin-Token
      value: '{{env.KONG_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: gateway-admin-mtls-auth-credentials-rest
    port: 8080
    description: REST adapter for Kong Enterprise Admin API — MTLS-auth credentials. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/{workspace}/consumers/{consumeridfornestedentities}/mtls-auth
      name: workspace-consumers-consumeridfornestedentities-mtls-auth
      description: REST surface for workspace-consumers-ConsumerIdForNestedEntities-mtls-auth.
      operations:
      - method: POST
        name: createmtlsauthwithconsumer
        description: Create a new MTLS-auth credential associated with a Consumer
        call: gateway-admin-mtls-auth-credentials.createmtlsauthwithconsumer
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/{workspace}/consumers/{consumeridfornestedentities}/mtls-auth/{mtlsauthid}
      name: workspace-consumers-consumeridfornestedentities-mtls-auth-mtlsauthid
      description: REST surface for workspace-consumers-ConsumerIdForNestedEntities-mtls-auth-MTLSAuthId.
      operations:
      - method: DELETE
        name: deletemtlsauthwithconsumer
        description: Delete a a MTLS-auth credential associated with a Consumer
        call: gateway-admin-mtls-auth-credentials.deletemtlsauthwithconsumer
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getmtlsauthwithconsumer
        description: Get a MTLS-auth credential associated with a Consumer
        call: gateway-admin-mtls-auth-credentials.getmtlsauthwithconsumer
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gateway-admin-mtls-auth-credentials-mcp
    port: 9090
    transport: http
    description: MCP adapter for Kong Enterprise Admin API — MTLS-auth credentials. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: create-new-mtls-auth-credential
      description: Create a new MTLS-auth credential associated with a Consumer
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: gateway-admin-mtls-auth-credentials.createmtlsauthwithconsumer
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-mtls-auth-credential-associated
      description: Delete a a MTLS-auth credential associated with a Consumer
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: gateway-admin-mtls-auth-credentials.deletemtlsauthwithconsumer
      outputParameters:
      - type: object
        mapping: $.
    - name: get-mtls-auth-credential-associated
      description: Get a MTLS-auth credential associated with a Consumer
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gateway-admin-mtls-auth-credentials.getmtlsauthwithconsumer
      outputParameters:
      - type: object
        mapping: $.