WSO2 · Capability

WSO2 API Manager - Admin — Key Manager (Individual)

WSO2 API Manager - Admin — Key Manager (Individual). 5 operations. Lead operation: Get a Key Manager Configuration. Self-contained Naftiko capability covering one Wso2 business surface.

Run with Naftiko Wso2Key Manager (Individual)

What You Can Do

GET
Get — Get a Key Manager Configuration
/v1/key-managers/{keymanagerid}
PUT
Put — Update a Key Manager
/v1/key-managers/{keymanagerid}
DELETE
Delete — Delete a Key Manager
/v1/key-managers/{keymanagerid}
GET
Get — Retrieve Key Manager Usages (APIs)
/v1/key-managers/{keymanagerid}/api-usages
GET
Get — Retrieve Key Manager Usages (Appilcations)
/v1/key-managers/{keymanagerid}/app-usages

MCP Tools

get-key-manager-configuration

Get a Key Manager Configuration

read-only idempotent
update-key-manager

Update a Key Manager

idempotent
delete-key-manager

Delete a Key Manager

idempotent
retrieve-key-manager-usages-apis

Retrieve Key Manager Usages (APIs)

read-only idempotent
retrieve-key-manager-usages-appilcations

Retrieve Key Manager Usages (Appilcations)

read-only idempotent

Capability Spec

admin-key-manager-individual.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WSO2 API Manager - Admin — Key Manager (Individual)
  description: 'WSO2 API Manager - Admin — Key Manager (Individual). 5 operations. Lead operation: Get a Key Manager Configuration.
    Self-contained Naftiko capability covering one Wso2 business surface.'
  tags:
  - Wso2
  - Key Manager (Individual)
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WSO2_API_KEY: WSO2_API_KEY
capability:
  consumes:
  - type: http
    namespace: admin-key-manager-individual
    baseUri: https://apis.wso2.com/api/am/admin/v4
    description: WSO2 API Manager - Admin — Key Manager (Individual) business capability. Self-contained, no shared references.
    resources:
    - name: key-managers-keyManagerId
      path: /key-managers/{keyManagerId}
      operations:
      - name: get
        method: GET
        description: Get a Key Manager Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: put
        method: PUT
        description: Update a Key Manager
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: delete
        method: DELETE
        description: Delete a Key Manager
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: key-managers-keyManagerId-api-usages
      path: /key-managers/{keyManagerId}/api-usages
      operations:
      - name: get
        method: GET
        description: Retrieve Key Manager Usages (APIs)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: key-managers-keyManagerId-app-usages
      path: /key-managers/{keyManagerId}/app-usages
      operations:
      - name: get
        method: GET
        description: Retrieve Key Manager Usages (Appilcations)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.WSO2_API_KEY}}'
  exposes:
  - type: rest
    namespace: admin-key-manager-individual-rest
    port: 8080
    description: REST adapter for WSO2 API Manager - Admin — Key Manager (Individual). One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/key-managers/{keymanagerid}
      name: key-managers-keymanagerid
      description: REST surface for key-managers-keyManagerId.
      operations:
      - method: GET
        name: get
        description: Get a Key Manager Configuration
        call: admin-key-manager-individual.get
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: put
        description: Update a Key Manager
        call: admin-key-manager-individual.put
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Delete a Key Manager
        call: admin-key-manager-individual.delete
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/key-managers/{keymanagerid}/api-usages
      name: key-managers-keymanagerid-api-usages
      description: REST surface for key-managers-keyManagerId-api-usages.
      operations:
      - method: GET
        name: get
        description: Retrieve Key Manager Usages (APIs)
        call: admin-key-manager-individual.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/key-managers/{keymanagerid}/app-usages
      name: key-managers-keymanagerid-app-usages
      description: REST surface for key-managers-keyManagerId-app-usages.
      operations:
      - method: GET
        name: get
        description: Retrieve Key Manager Usages (Appilcations)
        call: admin-key-manager-individual.get
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: admin-key-manager-individual-mcp
    port: 9090
    transport: http
    description: MCP adapter for WSO2 API Manager - Admin — Key Manager (Individual). One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: get-key-manager-configuration
      description: Get a Key Manager Configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-key-manager-individual.get
      outputParameters:
      - type: object
        mapping: $.
    - name: update-key-manager
      description: Update a Key Manager
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: admin-key-manager-individual.put
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-key-manager
      description: Delete a Key Manager
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: admin-key-manager-individual.delete
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-key-manager-usages-apis
      description: Retrieve Key Manager Usages (APIs)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-key-manager-individual.get
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-key-manager-usages-appilcations
      description: Retrieve Key Manager Usages (Appilcations)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-key-manager-individual.get
      outputParameters:
      - type: object
        mapping: $.