fastly · Capability

Fastly Compute API — Secret Store

Fastly Compute API — Secret Store. 4 operations. Lead operation: List secret stores. Self-contained Naftiko capability covering one Fastly business surface.

Run with Naftiko FastlySecret Store

What You Can Do

GET
Listsecretstores — List secret stores
/v1/resources/stores/secret
POST
Createsecretstore — Create a secret store
/v1/resources/stores/secret
GET
Getsecretstore — Get a secret store
/v1/resources/stores/secret/{store-id}
DELETE
Deletesecretstore — Delete a secret store
/v1/resources/stores/secret/{store-id}

MCP Tools

list-secret-stores

List secret stores

read-only idempotent
create-secret-store

Create a secret store

get-secret-store

Get a secret store

read-only idempotent
delete-secret-store

Delete a secret store

idempotent

Capability Spec

compute-secret-store.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Fastly Compute API — Secret Store
  description: 'Fastly Compute API — Secret Store. 4 operations. Lead operation: List secret stores. Self-contained Naftiko
    capability covering one Fastly business surface.'
  tags:
  - Fastly
  - Secret Store
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FASTLY_API_KEY: FASTLY_API_KEY
capability:
  consumes:
  - type: http
    namespace: compute-secret-store
    baseUri: https://api.fastly.com
    description: Fastly Compute API — Secret Store business capability. Self-contained, no shared references.
    resources:
    - name: resources-stores-secret
      path: /resources/stores/secret
      operations:
      - name: listsecretstores
        method: GET
        description: List secret stores
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: cursor
          in: query
          type: string
          description: A cursor for pagination.
        - name: limit
          in: query
          type: string
          description: The maximum number of items to return.
      - name: createsecretstore
        method: POST
        description: Create a secret store
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: resources-stores-secret-store_id
      path: /resources/stores/secret/{store_id}
      operations:
      - name: getsecretstore
        method: GET
        description: Get a secret store
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deletesecretstore
        method: DELETE
        description: Delete a secret store
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: Fastly-Key
      value: '{{env.FASTLY_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: compute-secret-store-rest
    port: 8080
    description: REST adapter for Fastly Compute API — Secret Store. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/resources/stores/secret
      name: resources-stores-secret
      description: REST surface for resources-stores-secret.
      operations:
      - method: GET
        name: listsecretstores
        description: List secret stores
        call: compute-secret-store.listsecretstores
        with:
          cursor: rest.cursor
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createsecretstore
        description: Create a secret store
        call: compute-secret-store.createsecretstore
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/resources/stores/secret/{store-id}
      name: resources-stores-secret-store-id
      description: REST surface for resources-stores-secret-store_id.
      operations:
      - method: GET
        name: getsecretstore
        description: Get a secret store
        call: compute-secret-store.getsecretstore
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletesecretstore
        description: Delete a secret store
        call: compute-secret-store.deletesecretstore
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: compute-secret-store-mcp
    port: 9090
    transport: http
    description: MCP adapter for Fastly Compute API — Secret Store. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-secret-stores
      description: List secret stores
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: compute-secret-store.listsecretstores
      with:
        cursor: tools.cursor
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.
    - name: create-secret-store
      description: Create a secret store
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: compute-secret-store.createsecretstore
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-secret-store
      description: Get a secret store
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: compute-secret-store.getsecretstore
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-secret-store
      description: Delete a secret store
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: compute-secret-store.deletesecretstore
      outputParameters:
      - type: object
        mapping: $.