HashiCorp Vault · Capability

HashiCorp Vault KV Secrets Engine API — Secrets Metadata

HashiCorp Vault KV Secrets Engine API — Secrets Metadata. 3 operations. Lead operation: HashiCorp Vault Read Secret Metadata. Self-contained Naftiko capability covering one Vault business surface.

Run with Naftiko VaultSecrets Metadata

What You Can Do

GET
Readsecretmetadata — HashiCorp Vault Read Secret Metadata
/v1/secret/metadata/{path}
POST
Writesecretmetadata — HashiCorp Vault Write Secret Metadata
/v1/secret/metadata/{path}
DELETE
Deletesecretmetadata — HashiCorp Vault Delete Secret Metadata
/v1/secret/metadata/{path}

MCP Tools

hashicorp-vault-read-secret-metadata

HashiCorp Vault Read Secret Metadata

read-only idempotent
hashicorp-vault-write-secret-metadata

HashiCorp Vault Write Secret Metadata

hashicorp-vault-delete-secret-metadata

HashiCorp Vault Delete Secret Metadata

idempotent

Capability Spec

kv-secrets-metadata.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: HashiCorp Vault KV Secrets Engine API — Secrets Metadata
  description: 'HashiCorp Vault KV Secrets Engine API — Secrets Metadata. 3 operations. Lead operation: HashiCorp Vault Read
    Secret Metadata. Self-contained Naftiko capability covering one Vault business surface.'
  tags:
  - Vault
  - Secrets Metadata
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VAULT_API_KEY: VAULT_API_KEY
capability:
  consumes:
  - type: http
    namespace: kv-secrets-metadata
    baseUri: https://vault.example.com/v1
    description: HashiCorp Vault KV Secrets Engine API — Secrets Metadata business capability. Self-contained, no shared references.
    resources:
    - name: secret-metadata-path
      path: /secret/metadata/{path}
      operations:
      - name: readsecretmetadata
        method: GET
        description: HashiCorp Vault Read Secret Metadata
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: writesecretmetadata
        method: POST
        description: HashiCorp Vault Write Secret Metadata
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletesecretmetadata
        method: DELETE
        description: HashiCorp Vault Delete Secret Metadata
        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: kv-secrets-metadata-rest
    port: 8080
    description: REST adapter for HashiCorp Vault KV Secrets Engine API — Secrets Metadata. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/secret/metadata/{path}
      name: secret-metadata-path
      description: REST surface for secret-metadata-path.
      operations:
      - method: GET
        name: readsecretmetadata
        description: HashiCorp Vault Read Secret Metadata
        call: kv-secrets-metadata.readsecretmetadata
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: writesecretmetadata
        description: HashiCorp Vault Write Secret Metadata
        call: kv-secrets-metadata.writesecretmetadata
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletesecretmetadata
        description: HashiCorp Vault Delete Secret Metadata
        call: kv-secrets-metadata.deletesecretmetadata
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: kv-secrets-metadata-mcp
    port: 9090
    transport: http
    description: MCP adapter for HashiCorp Vault KV Secrets Engine API — Secrets Metadata. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: hashicorp-vault-read-secret-metadata
      description: HashiCorp Vault Read Secret Metadata
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: kv-secrets-metadata.readsecretmetadata
      outputParameters:
      - type: object
        mapping: $.
    - name: hashicorp-vault-write-secret-metadata
      description: HashiCorp Vault Write Secret Metadata
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: kv-secrets-metadata.writesecretmetadata
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: hashicorp-vault-delete-secret-metadata
      description: HashiCorp Vault Delete Secret Metadata
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: kv-secrets-metadata.deletesecretmetadata
      outputParameters:
      - type: object
        mapping: $.