naftiko: 1.0.0-alpha2 info: label: HashiCorp Vault System Backend API — Auth Methods description: 'HashiCorp Vault System Backend API — Auth Methods. 3 operations. Lead operation: HashiCorp Vault List Auth Methods. Self-contained Naftiko capability covering one Vault business surface.' tags: - Vault - Auth Methods created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: VAULT_API_KEY: VAULT_API_KEY capability: consumes: - type: http namespace: sys-auth-methods baseUri: https://vault.example.com/v1 description: HashiCorp Vault System Backend API — Auth Methods business capability. Self-contained, no shared references. resources: - name: sys-auth path: /sys/auth operations: - name: listauthmethods method: GET description: HashiCorp Vault List Auth Methods outputRawFormat: json outputParameters: - name: result type: object value: $. - name: sys-auth-path path: /sys/auth/{path} operations: - name: enableauthmethod method: POST description: HashiCorp Vault Enable Auth Method outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: disableauthmethod method: DELETE description: HashiCorp Vault Disable Auth Method 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-auth-methods-rest port: 8080 description: REST adapter for HashiCorp Vault System Backend API — Auth Methods. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/sys/auth name: sys-auth description: REST surface for sys-auth. operations: - method: GET name: listauthmethods description: HashiCorp Vault List Auth Methods call: sys-auth-methods.listauthmethods outputParameters: - type: object mapping: $. - path: /v1/sys/auth/{path} name: sys-auth-path description: REST surface for sys-auth-path. operations: - method: POST name: enableauthmethod description: HashiCorp Vault Enable Auth Method call: sys-auth-methods.enableauthmethod with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: disableauthmethod description: HashiCorp Vault Disable Auth Method call: sys-auth-methods.disableauthmethod outputParameters: - type: object mapping: $. - type: mcp namespace: sys-auth-methods-mcp port: 9090 transport: http description: MCP adapter for HashiCorp Vault System Backend API — Auth Methods. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: hashicorp-vault-list-auth-methods description: HashiCorp Vault List Auth Methods hints: readOnly: true destructive: false idempotent: true call: sys-auth-methods.listauthmethods outputParameters: - type: object mapping: $. - name: hashicorp-vault-enable-auth-method description: HashiCorp Vault Enable Auth Method hints: readOnly: false destructive: false idempotent: false call: sys-auth-methods.enableauthmethod with: body: tools.body outputParameters: - type: object mapping: $. - name: hashicorp-vault-disable-auth-method description: HashiCorp Vault Disable Auth Method hints: readOnly: false destructive: true idempotent: true call: sys-auth-methods.disableauthmethod outputParameters: - type: object mapping: $.