WSO2 · Capability

WSO2 API Manager - Admin — Global Key Manager (Collection)

WSO2 API Manager - Admin — Global Key Manager (Collection). 2 operations. Lead operation: Get all Global Key managers. Self-contained Naftiko capability covering one Wso2 business surface.

Run with Naftiko Wso2Global Key Manager (Collection)

What You Can Do

GET
Get — Get all Global Key managers
/v1/global-key-managers
POST
Post — Add a new Global Key Manager
/v1/global-key-managers

MCP Tools

get-all-global-key-managers

Get all Global Key managers

read-only idempotent
add-new-global-key-manager

Add a new Global Key Manager

Capability Spec

admin-global-key-manager-collection.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WSO2 API Manager - Admin — Global Key Manager (Collection)
  description: 'WSO2 API Manager - Admin — Global Key Manager (Collection). 2 operations. Lead operation: Get all Global Key
    managers. Self-contained Naftiko capability covering one Wso2 business surface.'
  tags:
  - Wso2
  - Global Key Manager (Collection)
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WSO2_API_KEY: WSO2_API_KEY
capability:
  consumes:
  - type: http
    namespace: admin-global-key-manager-collection
    baseUri: https://apis.wso2.com/api/am/admin/v4
    description: WSO2 API Manager - Admin — Global Key Manager (Collection) business capability. Self-contained, no shared
      references.
    resources:
    - name: global-key-managers
      path: /global-key-managers
      operations:
      - name: get
        method: GET
        description: Get all Global Key managers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Add a new Global Key Manager
        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.WSO2_API_KEY}}'
  exposes:
  - type: rest
    namespace: admin-global-key-manager-collection-rest
    port: 8080
    description: REST adapter for WSO2 API Manager - Admin — Global Key Manager (Collection). One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/global-key-managers
      name: global-key-managers
      description: REST surface for global-key-managers.
      operations:
      - method: GET
        name: get
        description: Get all Global Key managers
        call: admin-global-key-manager-collection.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Add a new Global Key Manager
        call: admin-global-key-manager-collection.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: admin-global-key-manager-collection-mcp
    port: 9090
    transport: http
    description: MCP adapter for WSO2 API Manager - Admin — Global Key Manager (Collection). One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: get-all-global-key-managers
      description: Get all Global Key managers
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-global-key-manager-collection.get
      outputParameters:
      - type: object
        mapping: $.
    - name: add-new-global-key-manager
      description: Add a new Global Key Manager
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: admin-global-key-manager-collection.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.