naftiko: 1.0.0-alpha2 info: label: HashiCorp Vault KV Secrets Engine API — Secrets Config description: 'HashiCorp Vault KV Secrets Engine API — Secrets Config. 2 operations. Lead operation: HashiCorp Vault Get KV Configuration. Self-contained Naftiko capability covering one Vault business surface.' tags: - Vault - Secrets Config 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-config baseUri: https://vault.example.com/v1 description: HashiCorp Vault KV Secrets Engine API — Secrets Config business capability. Self-contained, no shared references. resources: - name: secret-config path: /secret/config operations: - name: getkvconfig method: GET description: HashiCorp Vault Get KV Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. - name: setkvconfig method: POST description: HashiCorp Vault Set KV Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: X-Vault-Token value: '{{env.VAULT_API_KEY}}' placement: header exposes: - type: rest namespace: kv-secrets-config-rest port: 8080 description: REST adapter for HashiCorp Vault KV Secrets Engine API — Secrets Config. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/secret/config name: secret-config description: REST surface for secret-config. operations: - method: GET name: getkvconfig description: HashiCorp Vault Get KV Configuration call: kv-secrets-config.getkvconfig outputParameters: - type: object mapping: $. - method: POST name: setkvconfig description: HashiCorp Vault Set KV Configuration call: kv-secrets-config.setkvconfig with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: kv-secrets-config-mcp port: 9090 transport: http description: MCP adapter for HashiCorp Vault KV Secrets Engine API — Secrets Config. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: hashicorp-vault-get-kv-configuration description: HashiCorp Vault Get KV Configuration hints: readOnly: true destructive: false idempotent: true call: kv-secrets-config.getkvconfig outputParameters: - type: object mapping: $. - name: hashicorp-vault-set-kv-configuration description: HashiCorp Vault Set KV Configuration hints: readOnly: false destructive: false idempotent: false call: kv-secrets-config.setkvconfig with: body: tools.body outputParameters: - type: object mapping: $.