SPIFFE · Capability

SPIFFE Federation Bundle Endpoint API — Bundle

SPIFFE Federation Bundle Endpoint API — Bundle. 1 operations. Lead operation: SPIFFE Get trust bundle. Self-contained Naftiko capability covering one Spiffe business surface.

Run with Naftiko SpiffeBundle

What You Can Do

GET
Gettrustbundle — SPIFFE Get trust bundle
/v1/spiffe/v1/bundle

MCP Tools

spiffe-get-trust-bundle

SPIFFE Get trust bundle

read-only idempotent

Capability Spec

federation-bundle.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: SPIFFE Federation Bundle Endpoint API — Bundle
  description: 'SPIFFE Federation Bundle Endpoint API — Bundle. 1 operations. Lead operation: SPIFFE Get trust bundle. Self-contained
    Naftiko capability covering one Spiffe business surface.'
  tags:
  - Spiffe
  - Bundle
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SPIFFE_API_KEY: SPIFFE_API_KEY
capability:
  consumes:
  - type: http
    namespace: federation-bundle
    baseUri: https://{trust-domain}
    description: SPIFFE Federation Bundle Endpoint API — Bundle business capability. Self-contained, no shared references.
    resources:
    - name: spiffe-v1-bundle
      path: /spiffe/v1/bundle
      operations:
      - name: gettrustbundle
        method: GET
        description: SPIFFE Get trust bundle
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Accept
          in: header
          type: string
          description: Requested response format. The bundle endpoint must return application/json. Clients may include this
            header to indicate they accept JSON responses.
  exposes:
  - type: rest
    namespace: federation-bundle-rest
    port: 8080
    description: REST adapter for SPIFFE Federation Bundle Endpoint API — Bundle. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/spiffe/v1/bundle
      name: spiffe-v1-bundle
      description: REST surface for spiffe-v1-bundle.
      operations:
      - method: GET
        name: gettrustbundle
        description: SPIFFE Get trust bundle
        call: federation-bundle.gettrustbundle
        with:
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: federation-bundle-mcp
    port: 9090
    transport: http
    description: MCP adapter for SPIFFE Federation Bundle Endpoint API — Bundle. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: spiffe-get-trust-bundle
      description: SPIFFE Get trust bundle
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: federation-bundle.gettrustbundle
      with:
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.