VMware Tanzu · Capability

VMware Tanzu Service Mesh API — Authentication

VMware Tanzu Service Mesh API — Authentication. 1 operations. Lead operation: Exchange API Token for Access Token. Self-contained Naftiko capability covering one Vmware Tanzu business surface.

Run with Naftiko Vmware TanzuAuthentication

What You Can Do

POST
Exchangeapitoken — Exchange API Token for Access Token
/v1/csp/gateway/am/api/auth/api-tokens/authorize

MCP Tools

exchange-api-token-access-token

Exchange API Token for Access Token

Capability Spec

service-mesh-authentication.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: VMware Tanzu Service Mesh API — Authentication
  description: 'VMware Tanzu Service Mesh API — Authentication. 1 operations. Lead operation: Exchange API Token for Access
    Token. Self-contained Naftiko capability covering one Vmware Tanzu business surface.'
  tags:
  - Vmware Tanzu
  - Authentication
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VMWARE_TANZU_API_KEY: VMWARE_TANZU_API_KEY
capability:
  consumes:
  - type: http
    namespace: service-mesh-authentication
    baseUri: https://prod-2.nsxservicemesh.vmware.com
    description: VMware Tanzu Service Mesh API — Authentication business capability. Self-contained, no shared references.
    resources:
    - name: csp-gateway-am-api-auth-api-tokens-authorize
      path: /csp/gateway/am/api/auth/api-tokens/authorize
      operations:
      - name: exchangeapitoken
        method: POST
        description: Exchange API Token for Access Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: csp-auth-token
      value: '{{env.VMWARE_TANZU_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: service-mesh-authentication-rest
    port: 8080
    description: REST adapter for VMware Tanzu Service Mesh API — Authentication. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/csp/gateway/am/api/auth/api-tokens/authorize
      name: csp-gateway-am-api-auth-api-tokens-authorize
      description: REST surface for csp-gateway-am-api-auth-api-tokens-authorize.
      operations:
      - method: POST
        name: exchangeapitoken
        description: Exchange API Token for Access Token
        call: service-mesh-authentication.exchangeapitoken
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: service-mesh-authentication-mcp
    port: 9090
    transport: http
    description: MCP adapter for VMware Tanzu Service Mesh API — Authentication. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: exchange-api-token-access-token
      description: Exchange API Token for Access Token
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: service-mesh-authentication.exchangeapitoken
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.