Kong · Capability

Konnect API - Go SDK — MTLS-auth credentials

Konnect API - Go SDK — MTLS-auth credentials. 7 operations. Lead operation: List all MTLS-auth credentials associated with a Consumer. Self-contained Naftiko capability covering one Kong business surface.

Run with Naftiko KongMTLS-auth credentials

What You Can Do

GET
Listmtlsauthwithconsumer — List all MTLS-auth credentials associated with a Consumer
/v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/mtls-auth
POST
Createmtlsauthwithconsumer — Create a new MTLS-auth credential associated with a Consumer
/v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/mtls-auth
DELETE
Deletemtlsauthwithconsumer — Delete a a MTLS-auth credential associated with a Consumer
/v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/mtls-auth/{mtlsauthid}
GET
Getmtlsauthwithconsumer — Get a MTLS-auth credential associated with a Consumer
/v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/mtls-auth/{mtlsauthid}
PUT
Upsertmtlsauthwithconsumer — Upsert a MTLS-auth credential associated with a Consumer
/v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/mtls-auth/{mtlsauthid}
GET
Listmtlsauth — List all MTLS-auth credentials
/v1/v2/control-planes/{controlplaneid}/core-entities/mtls-auths
GET
Getmtlsauth — Get a MTLS-auth credential
/v1/v2/control-planes/{controlplaneid}/core-entities/mtls-auths/{mtlsauthid}

MCP Tools

list-all-mtls-auth-credentials

List all MTLS-auth credentials associated with a Consumer

read-only idempotent
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
upsert-mtls-auth-credential-associated

Upsert a MTLS-auth credential associated with a Consumer

idempotent
list-all-mtls-auth-credentials-2

List all MTLS-auth credentials

read-only idempotent
get-mtls-auth-credential

Get a MTLS-auth credential

read-only idempotent

Capability Spec

konnect-platform-mtls-auth-credentials.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Konnect API - Go SDK — MTLS-auth credentials
  description: 'Konnect API - Go SDK — MTLS-auth credentials. 7 operations. Lead operation: List all MTLS-auth credentials
    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: konnect-platform-mtls-auth-credentials
    baseUri: https://global.api.konghq.com
    description: Konnect API - Go SDK — MTLS-auth credentials business capability. Self-contained, no shared references.
    resources:
    - name: v2-control-planes-controlPlaneId-core-entities-consumers-ConsumerIdForNestedEnti
      path: /v2/control-planes/{controlPlaneId}/core-entities/consumers/{ConsumerIdForNestedEntities}/mtls-auth
      operations:
      - name: listmtlsauthwithconsumer
        method: GET
        description: List all MTLS-auth credentials associated with a Consumer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - 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: v2-control-planes-controlPlaneId-core-entities-consumers-ConsumerIdForNestedEnti
      path: /v2/control-planes/{controlPlaneId}/core-entities/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: $.
      - name: upsertmtlsauthwithconsumer
        method: PUT
        description: Upsert a 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: v2-control-planes-controlPlaneId-core-entities-mtls-auths
      path: /v2/control-planes/{controlPlaneId}/core-entities/mtls-auths
      operations:
      - name: listmtlsauth
        method: GET
        description: List all MTLS-auth credentials
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v2-control-planes-controlPlaneId-core-entities-mtls-auths-MTLSAuthId
      path: /v2/control-planes/{controlPlaneId}/core-entities/mtls-auths/{MTLSAuthId}
      operations:
      - name: getmtlsauth
        method: GET
        description: Get a MTLS-auth credential
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.KONG_API_KEY}}'
  exposes:
  - type: rest
    namespace: konnect-platform-mtls-auth-credentials-rest
    port: 8080
    description: REST adapter for Konnect API - Go SDK — MTLS-auth credentials. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/mtls-auth
      name: v2-control-planes-controlplaneid-core-entities-consumers-consumeridfornestedenti
      description: REST surface for v2-control-planes-controlPlaneId-core-entities-consumers-ConsumerIdForNestedEnti.
      operations:
      - method: GET
        name: listmtlsauthwithconsumer
        description: List all MTLS-auth credentials associated with a Consumer
        call: konnect-platform-mtls-auth-credentials.listmtlsauthwithconsumer
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createmtlsauthwithconsumer
        description: Create a new MTLS-auth credential associated with a Consumer
        call: konnect-platform-mtls-auth-credentials.createmtlsauthwithconsumer
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/mtls-auth/{mtlsauthid}
      name: v2-control-planes-controlplaneid-core-entities-consumers-consumeridfornestedenti
      description: REST surface for v2-control-planes-controlPlaneId-core-entities-consumers-ConsumerIdForNestedEnti.
      operations:
      - method: DELETE
        name: deletemtlsauthwithconsumer
        description: Delete a a MTLS-auth credential associated with a Consumer
        call: konnect-platform-mtls-auth-credentials.deletemtlsauthwithconsumer
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getmtlsauthwithconsumer
        description: Get a MTLS-auth credential associated with a Consumer
        call: konnect-platform-mtls-auth-credentials.getmtlsauthwithconsumer
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: upsertmtlsauthwithconsumer
        description: Upsert a MTLS-auth credential associated with a Consumer
        call: konnect-platform-mtls-auth-credentials.upsertmtlsauthwithconsumer
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/control-planes/{controlplaneid}/core-entities/mtls-auths
      name: v2-control-planes-controlplaneid-core-entities-mtls-auths
      description: REST surface for v2-control-planes-controlPlaneId-core-entities-mtls-auths.
      operations:
      - method: GET
        name: listmtlsauth
        description: List all MTLS-auth credentials
        call: konnect-platform-mtls-auth-credentials.listmtlsauth
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/control-planes/{controlplaneid}/core-entities/mtls-auths/{mtlsauthid}
      name: v2-control-planes-controlplaneid-core-entities-mtls-auths-mtlsauthid
      description: REST surface for v2-control-planes-controlPlaneId-core-entities-mtls-auths-MTLSAuthId.
      operations:
      - method: GET
        name: getmtlsauth
        description: Get a MTLS-auth credential
        call: konnect-platform-mtls-auth-credentials.getmtlsauth
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: konnect-platform-mtls-auth-credentials-mcp
    port: 9090
    transport: http
    description: MCP adapter for Konnect API - Go SDK — MTLS-auth credentials. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-all-mtls-auth-credentials
      description: List all MTLS-auth credentials associated with a Consumer
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-mtls-auth-credentials.listmtlsauthwithconsumer
      outputParameters:
      - type: object
        mapping: $.
    - 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: konnect-platform-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: konnect-platform-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: konnect-platform-mtls-auth-credentials.getmtlsauthwithconsumer
      outputParameters:
      - type: object
        mapping: $.
    - name: upsert-mtls-auth-credential-associated
      description: Upsert a MTLS-auth credential associated with a Consumer
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: konnect-platform-mtls-auth-credentials.upsertmtlsauthwithconsumer
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-all-mtls-auth-credentials-2
      description: List all MTLS-auth credentials
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-mtls-auth-credentials.listmtlsauth
      outputParameters:
      - type: object
        mapping: $.
    - name: get-mtls-auth-credential
      description: Get a MTLS-auth credential
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-mtls-auth-credentials.getmtlsauth
      outputParameters:
      - type: object
        mapping: $.