naftiko: 1.0.0-alpha2 info: label: Passbolt API — Secrets description: 'Passbolt API — Secrets. 1 operations. Lead operation: View user''s secret for a resource.. Self-contained Naftiko capability covering one Passbolt business surface.' tags: - Passbolt - Secrets created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PASSBOLT_API_KEY: PASSBOLT_API_KEY capability: consumes: - type: http namespace: passbolt-secrets baseUri: https://passbolt.local description: Passbolt API — Secrets business capability. Self-contained, no shared references. resources: - name: secrets-resource-resourceId}.json path: /secrets/resource/{resourceId}.json operations: - name: viewsecret method: GET description: View user's secret for a resource. outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.PASSBOLT_API_KEY}}' exposes: - type: rest namespace: passbolt-secrets-rest port: 8080 description: REST adapter for Passbolt API — Secrets. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/secrets/resource/resourceid-json name: secrets-resource-resourceid-json description: REST surface for secrets-resource-resourceId}.json. operations: - method: GET name: viewsecret description: View user's secret for a resource. call: passbolt-secrets.viewsecret outputParameters: - type: object mapping: $. - type: mcp namespace: passbolt-secrets-mcp port: 9090 transport: http description: MCP adapter for Passbolt API — Secrets. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: view-user-s-secret-resource description: View user's secret for a resource. hints: readOnly: true destructive: false idempotent: true call: passbolt-secrets.viewsecret outputParameters: - type: object mapping: $.