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