Kong · Capability

Konnect API - Go SDK — Basic-auth credentials

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

Run with Naftiko KongBasic-auth credentials

What You Can Do

GET
Listbasicauth — List all Basic-auth credentials
/v1/v2/control-planes/{controlplaneid}/core-entities/basic-auths
GET
Getbasicauth — Get a Basic-auth credential
/v1/v2/control-planes/{controlplaneid}/core-entities/basic-auths/{basicauthid}
GET
Listbasicauthwithconsumer — List all Basic-auth credentials associated with a Consumer
/v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/basic-auth
POST
Createbasicauthwithconsumer — Create a new Basic-auth credential associated with a Consumer
/v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/basic-auth
DELETE
Deletebasicauthwithconsumer — Delete a a Basic-auth credential associated with a Consumer
/v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/basic-auth/{basicauthid}
GET
Getbasicauthwithconsumer — Get a Basic-auth credential associated with a Consumer
/v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/basic-auth/{basicauthid}
PUT
Upsertbasicauthwithconsumer — Upsert a Basic-auth credential associated with a Consumer
/v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/basic-auth/{basicauthid}

MCP Tools

list-all-basic-auth-credentials

List all Basic-auth credentials

read-only idempotent
get-basic-auth-credential

Get a Basic-auth credential

read-only idempotent
list-all-basic-auth-credentials-2

List all Basic-auth credentials associated with a Consumer

read-only idempotent
create-new-basic-auth-credential

Create a new Basic-auth credential associated with a Consumer

delete-basic-auth-credential-associated

Delete a a Basic-auth credential associated with a Consumer

idempotent
get-basic-auth-credential-associated

Get a Basic-auth credential associated with a Consumer

read-only idempotent
upsert-basic-auth-credential-associated

Upsert a Basic-auth credential associated with a Consumer

idempotent

Capability Spec

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