HashiCorp Vault · Capability

HashiCorp Vault Vault System Backend API — Mounts

HashiCorp Vault Vault System Backend API — Mounts. 3 operations. Lead operation: HashiCorp Vault List secrets engines. Self-contained Naftiko capability covering one Hvault business surface.

Run with Naftiko HvaultMounts

What You Can Do

GET
Listsecretsmounts — HashiCorp Vault List secrets engines
/v1/sys/mounts
POST
Enablesecretsengine — HashiCorp Vault Enable secrets engine
/v1/sys/mounts/{path}
DELETE
Disablesecretsengine — HashiCorp Vault Disable secrets engine
/v1/sys/mounts/{path}

MCP Tools

hashicorp-vault-list-secrets-engines

HashiCorp Vault List secrets engines

read-only idempotent
hashicorp-vault-enable-secrets-engine

HashiCorp Vault Enable secrets engine

hashicorp-vault-disable-secrets-engine

HashiCorp Vault Disable secrets engine

idempotent

Capability Spec

system-backend-mounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: HashiCorp Vault Vault System Backend API — Mounts
  description: 'HashiCorp Vault Vault System Backend API — Mounts. 3 operations. Lead operation: HashiCorp Vault List secrets
    engines. Self-contained Naftiko capability covering one Hvault business surface.'
  tags:
  - Hvault
  - Mounts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HVAULT_API_KEY: HVAULT_API_KEY
capability:
  consumes:
  - type: http
    namespace: system-backend-mounts
    baseUri: https://vault.example.com/v1
    description: HashiCorp Vault Vault System Backend API — Mounts business capability. Self-contained, no shared references.
    resources:
    - name: sys-mounts
      path: /sys/mounts
      operations:
      - name: listsecretsmounts
        method: GET
        description: HashiCorp Vault List secrets engines
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: sys-mounts-path
      path: /sys/mounts/{path}
      operations:
      - name: enablesecretsengine
        method: POST
        description: HashiCorp Vault Enable secrets engine
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: disablesecretsengine
        method: DELETE
        description: HashiCorp Vault Disable secrets engine
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: X-Vault-Token
      value: '{{env.HVAULT_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: system-backend-mounts-rest
    port: 8080
    description: REST adapter for HashiCorp Vault Vault System Backend API — Mounts. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/sys/mounts
      name: sys-mounts
      description: REST surface for sys-mounts.
      operations:
      - method: GET
        name: listsecretsmounts
        description: HashiCorp Vault List secrets engines
        call: system-backend-mounts.listsecretsmounts
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sys/mounts/{path}
      name: sys-mounts-path
      description: REST surface for sys-mounts-path.
      operations:
      - method: POST
        name: enablesecretsengine
        description: HashiCorp Vault Enable secrets engine
        call: system-backend-mounts.enablesecretsengine
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: disablesecretsengine
        description: HashiCorp Vault Disable secrets engine
        call: system-backend-mounts.disablesecretsengine
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: system-backend-mounts-mcp
    port: 9090
    transport: http
    description: MCP adapter for HashiCorp Vault Vault System Backend API — Mounts. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: hashicorp-vault-list-secrets-engines
      description: HashiCorp Vault List secrets engines
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: system-backend-mounts.listsecretsmounts
      outputParameters:
      - type: object
        mapping: $.
    - name: hashicorp-vault-enable-secrets-engine
      description: HashiCorp Vault Enable secrets engine
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: system-backend-mounts.enablesecretsengine
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: hashicorp-vault-disable-secrets-engine
      description: HashiCorp Vault Disable secrets engine
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: system-backend-mounts.disablesecretsengine
      outputParameters:
      - type: object
        mapping: $.