naftiko: 1.0.0-alpha2 info: label: Konnect API - Go SDK — API-keys description: 'Konnect API - Go SDK — API-keys. 7 operations. Lead operation: List all API-keys associated with a Consumer. Self-contained Naftiko capability covering one Kong business surface.' tags: - Kong - API-keys 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-api-keys baseUri: https://global.api.konghq.com description: Konnect API - Go SDK — API-keys 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}/key-auth operations: - name: listkeyauthwithconsumer method: GET description: List all API-keys associated with a Consumer outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createkeyauthwithconsumer method: POST description: Create a new API-key associated with a Consumer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: v2-control-planes-controlPlaneId-core-entities-consumers-ConsumerIdForNestedEnti path: /v2/control-planes/{controlPlaneId}/core-entities/consumers/{ConsumerIdForNestedEntities}/key-auth/{KeyAuthId} operations: - name: deletekeyauthwithconsumer method: DELETE description: Delete a an API-key associated with a Consumer outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getkeyauthwithconsumer method: GET description: Get an API-key associated with a Consumer outputRawFormat: json outputParameters: - name: result type: object value: $. - name: upsertkeyauthwithconsumer method: PUT description: Upsert an API-key associated with a Consumer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: v2-control-planes-controlPlaneId-core-entities-key-auths path: /v2/control-planes/{controlPlaneId}/core-entities/key-auths operations: - name: listkeyauth method: GET description: List all API-keys outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v2-control-planes-controlPlaneId-core-entities-key-auths-KeyAuthId path: /v2/control-planes/{controlPlaneId}/core-entities/key-auths/{KeyAuthId} operations: - name: getkeyauth method: GET description: Get an API-key outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.KONG_API_KEY}}' exposes: - type: rest namespace: konnect-platform-api-keys-rest port: 8080 description: REST adapter for Konnect API - Go SDK — API-keys. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/key-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: listkeyauthwithconsumer description: List all API-keys associated with a Consumer call: konnect-platform-api-keys.listkeyauthwithconsumer outputParameters: - type: object mapping: $. - method: POST name: createkeyauthwithconsumer description: Create a new API-key associated with a Consumer call: konnect-platform-api-keys.createkeyauthwithconsumer with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/key-auth/{keyauthid} 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: deletekeyauthwithconsumer description: Delete a an API-key associated with a Consumer call: konnect-platform-api-keys.deletekeyauthwithconsumer outputParameters: - type: object mapping: $. - method: GET name: getkeyauthwithconsumer description: Get an API-key associated with a Consumer call: konnect-platform-api-keys.getkeyauthwithconsumer outputParameters: - type: object mapping: $. - method: PUT name: upsertkeyauthwithconsumer description: Upsert an API-key associated with a Consumer call: konnect-platform-api-keys.upsertkeyauthwithconsumer with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/key-auths name: v2-control-planes-controlplaneid-core-entities-key-auths description: REST surface for v2-control-planes-controlPlaneId-core-entities-key-auths. operations: - method: GET name: listkeyauth description: List all API-keys call: konnect-platform-api-keys.listkeyauth outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/key-auths/{keyauthid} name: v2-control-planes-controlplaneid-core-entities-key-auths-keyauthid description: REST surface for v2-control-planes-controlPlaneId-core-entities-key-auths-KeyAuthId. operations: - method: GET name: getkeyauth description: Get an API-key call: konnect-platform-api-keys.getkeyauth outputParameters: - type: object mapping: $. - type: mcp namespace: konnect-platform-api-keys-mcp port: 9090 transport: http description: MCP adapter for Konnect API - Go SDK — API-keys. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-api-keys-associated description: List all API-keys associated with a Consumer hints: readOnly: true destructive: false idempotent: true call: konnect-platform-api-keys.listkeyauthwithconsumer outputParameters: - type: object mapping: $. - name: create-new-api-key-associated description: Create a new API-key associated with a Consumer hints: readOnly: false destructive: false idempotent: false call: konnect-platform-api-keys.createkeyauthwithconsumer with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-api-key-associated-consumer description: Delete a an API-key associated with a Consumer hints: readOnly: false destructive: true idempotent: true call: konnect-platform-api-keys.deletekeyauthwithconsumer outputParameters: - type: object mapping: $. - name: get-api-key-associated-consumer description: Get an API-key associated with a Consumer hints: readOnly: true destructive: false idempotent: true call: konnect-platform-api-keys.getkeyauthwithconsumer outputParameters: - type: object mapping: $. - name: upsert-api-key-associated-consumer description: Upsert an API-key associated with a Consumer hints: readOnly: false destructive: false idempotent: true call: konnect-platform-api-keys.upsertkeyauthwithconsumer with: body: tools.body outputParameters: - type: object mapping: $. - name: list-all-api-keys description: List all API-keys hints: readOnly: true destructive: false idempotent: true call: konnect-platform-api-keys.listkeyauth outputParameters: - type: object mapping: $. - name: get-api-key description: Get an API-key hints: readOnly: true destructive: false idempotent: true call: konnect-platform-api-keys.getkeyauth outputParameters: - type: object mapping: $.