HashiCorp Vault · Capability

HashiCorp Vault System Backend API — Secrets Engines

HashiCorp Vault System Backend API — Secrets Engines. 3 operations. Lead operation: HashiCorp Vault List Secrets Engine Mounts. Self-contained Naftiko capability covering one Vault business surface.

Run with Naftiko VaultSecrets Engines

What You Can Do

GET
Listsecretsmounts — HashiCorp Vault List Secrets Engine Mounts
/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-engine

HashiCorp Vault List Secrets Engine Mounts

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

sys-secrets-engines.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: HashiCorp Vault System Backend API — Secrets Engines
  description: 'HashiCorp Vault System Backend API — Secrets Engines. 3 operations. Lead operation: HashiCorp Vault List Secrets
    Engine Mounts. Self-contained Naftiko capability covering one Vault business surface.'
  tags:
  - Vault
  - Secrets Engines
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VAULT_API_KEY: VAULT_API_KEY
capability:
  consumes:
  - type: http
    namespace: sys-secrets-engines
    baseUri: https://vault.example.com/v1
    description: HashiCorp Vault System Backend API — Secrets Engines business capability. Self-contained, no shared references.
    resources:
    - name: sys-mounts
      path: /sys/mounts
      operations:
      - name: listsecretsmounts
        method: GET
        description: HashiCorp Vault List Secrets Engine Mounts
        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.VAULT_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: sys-secrets-engines-rest
    port: 8080
    description: REST adapter for HashiCorp Vault System Backend API — Secrets Engines. 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 Engine Mounts
        call: sys-secrets-engines.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: sys-secrets-engines.enablesecretsengine
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: disablesecretsengine
        description: HashiCorp Vault Disable Secrets Engine
        call: sys-secrets-engines.disablesecretsengine
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sys-secrets-engines-mcp
    port: 9090
    transport: http
    description: MCP adapter for HashiCorp Vault System Backend API — Secrets Engines. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: hashicorp-vault-list-secrets-engine
      description: HashiCorp Vault List Secrets Engine Mounts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sys-secrets-engines.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: sys-secrets-engines.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: sys-secrets-engines.disablesecretsengine
      outputParameters:
      - type: object
        mapping: $.