naftiko: 1.0.0-alpha2 info: label: Konnect API - Go SDK — JWTs description: 'Konnect API - Go SDK — JWTs. 7 operations. Lead operation: List all JWTs associated with a Consumer. Self-contained Naftiko capability covering one Kong business surface.' tags: - Kong - JWTs 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-jwts baseUri: https://global.api.konghq.com description: Konnect API - Go SDK — JWTs 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}/jwt operations: - name: listjwtwithconsumer method: GET description: List all JWTs associated with a Consumer outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createjwtwithconsumer method: POST description: Create a new JWT 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}/jwt/{JWTId} operations: - name: deletejwtwithconsumer method: DELETE description: Delete a a JWT associated with a Consumer outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getjwtwithconsumer method: GET description: Get a JWT associated with a Consumer outputRawFormat: json outputParameters: - name: result type: object value: $. - name: upsertjwtwithconsumer method: PUT description: Upsert a JWT 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-jwts path: /v2/control-planes/{controlPlaneId}/core-entities/jwts operations: - name: listjwt method: GET description: List all JWTs outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v2-control-planes-controlPlaneId-core-entities-jwts-JWTId path: /v2/control-planes/{controlPlaneId}/core-entities/jwts/{JWTId} operations: - name: getjwt method: GET description: Get a JWT outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.KONG_API_KEY}}' exposes: - type: rest namespace: konnect-platform-jwts-rest port: 8080 description: REST adapter for Konnect API - Go SDK — JWTs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/jwt 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: listjwtwithconsumer description: List all JWTs associated with a Consumer call: konnect-platform-jwts.listjwtwithconsumer outputParameters: - type: object mapping: $. - method: POST name: createjwtwithconsumer description: Create a new JWT associated with a Consumer call: konnect-platform-jwts.createjwtwithconsumer with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/consumers/{consumeridfornestedentities}/jwt/{jwtid} 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: deletejwtwithconsumer description: Delete a a JWT associated with a Consumer call: konnect-platform-jwts.deletejwtwithconsumer outputParameters: - type: object mapping: $. - method: GET name: getjwtwithconsumer description: Get a JWT associated with a Consumer call: konnect-platform-jwts.getjwtwithconsumer outputParameters: - type: object mapping: $. - method: PUT name: upsertjwtwithconsumer description: Upsert a JWT associated with a Consumer call: konnect-platform-jwts.upsertjwtwithconsumer with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/jwts name: v2-control-planes-controlplaneid-core-entities-jwts description: REST surface for v2-control-planes-controlPlaneId-core-entities-jwts. operations: - method: GET name: listjwt description: List all JWTs call: konnect-platform-jwts.listjwt outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/jwts/{jwtid} name: v2-control-planes-controlplaneid-core-entities-jwts-jwtid description: REST surface for v2-control-planes-controlPlaneId-core-entities-jwts-JWTId. operations: - method: GET name: getjwt description: Get a JWT call: konnect-platform-jwts.getjwt outputParameters: - type: object mapping: $. - type: mcp namespace: konnect-platform-jwts-mcp port: 9090 transport: http description: MCP adapter for Konnect API - Go SDK — JWTs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-jwts-associated-consumer description: List all JWTs associated with a Consumer hints: readOnly: true destructive: false idempotent: true call: konnect-platform-jwts.listjwtwithconsumer outputParameters: - type: object mapping: $. - name: create-new-jwt-associated-consumer description: Create a new JWT associated with a Consumer hints: readOnly: false destructive: false idempotent: false call: konnect-platform-jwts.createjwtwithconsumer with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-jwt-associated-consumer description: Delete a a JWT associated with a Consumer hints: readOnly: false destructive: true idempotent: true call: konnect-platform-jwts.deletejwtwithconsumer outputParameters: - type: object mapping: $. - name: get-jwt-associated-consumer description: Get a JWT associated with a Consumer hints: readOnly: true destructive: false idempotent: true call: konnect-platform-jwts.getjwtwithconsumer outputParameters: - type: object mapping: $. - name: upsert-jwt-associated-consumer description: Upsert a JWT associated with a Consumer hints: readOnly: false destructive: false idempotent: true call: konnect-platform-jwts.upsertjwtwithconsumer with: body: tools.body outputParameters: - type: object mapping: $. - name: list-all-jwts description: List all JWTs hints: readOnly: true destructive: false idempotent: true call: konnect-platform-jwts.listjwt outputParameters: - type: object mapping: $. - name: get-jwt description: Get a JWT hints: readOnly: true destructive: false idempotent: true call: konnect-platform-jwts.getjwt outputParameters: - type: object mapping: $.