naftiko: 1.0.0-alpha2 info: label: HashiCorp Vault Vault System Backend API — Auth description: 'HashiCorp Vault Vault System Backend API — Auth. 3 operations. Lead operation: HashiCorp Vault List auth methods. Self-contained Naftiko capability covering one Hvault business surface.' tags: - Hvault - Auth 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-auth baseUri: https://vault.example.com/v1 description: HashiCorp Vault Vault System Backend API — Auth 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.HVAULT_API_KEY}}' placement: header exposes: - type: rest namespace: system-backend-auth-rest port: 8080 description: REST adapter for HashiCorp Vault Vault System Backend API — Auth. 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: system-backend-auth.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: system-backend-auth.enableauthmethod with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: disableauthmethod description: HashiCorp Vault Disable auth method call: system-backend-auth.disableauthmethod outputParameters: - type: object mapping: $. - type: mcp namespace: system-backend-auth-mcp port: 9090 transport: http description: MCP adapter for HashiCorp Vault Vault System Backend API — Auth. 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: system-backend-auth.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: system-backend-auth.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: system-backend-auth.disableauthmethod outputParameters: - type: object mapping: $.