naftiko: 1.0.0-alpha2 info: label: Consolidate Services — GPGKeyService description: 'Consolidate Services — GPGKeyService. 4 operations. Lead operation: List all available repository certificates. Self-contained Naftiko capability covering one Argocd business surface.' tags: - Argocd - GPGKeyService created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ARGOCD_API_KEY: ARGOCD_API_KEY capability: consumes: - type: http namespace: server-gpgkeyservice baseUri: '' description: Consolidate Services — GPGKeyService business capability. Self-contained, no shared references. resources: - name: api-v1-gpgkeys path: /api/v1/gpgkeys operations: - name: gpgkeyservicelist method: GET description: List all available repository certificates outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: keyID in: query type: string description: The GPG key ID to query for. - name: gpgkeyservicecreate method: POST description: Create one or more GPG public keys in the server's configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: string description: Raw key data of the GPG key(s) to create required: true - name: upsert in: query type: boolean description: Whether to upsert already existing public keys. - name: gpgkeyservicedelete method: DELETE description: Delete specified GPG public key from the server's configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: keyID in: query type: string description: The GPG key ID to query for. - name: api-v1-gpgkeys-keyID path: /api/v1/gpgkeys/{keyID} operations: - name: gpgkeyserviceget method: GET description: Get information about specified GPG public key from the server outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: keyID in: path type: string description: The GPG key ID to query for required: true exposes: - type: rest namespace: server-gpgkeyservice-rest port: 8080 description: REST adapter for Consolidate Services — GPGKeyService. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v1/gpgkeys name: api-v1-gpgkeys description: REST surface for api-v1-gpgkeys. operations: - method: GET name: gpgkeyservicelist description: List all available repository certificates call: server-gpgkeyservice.gpgkeyservicelist with: keyID: rest.keyID outputParameters: - type: object mapping: $. - method: POST name: gpgkeyservicecreate description: Create one or more GPG public keys in the server's configuration call: server-gpgkeyservice.gpgkeyservicecreate with: body: rest.body upsert: rest.upsert outputParameters: - type: object mapping: $. - method: DELETE name: gpgkeyservicedelete description: Delete specified GPG public key from the server's configuration call: server-gpgkeyservice.gpgkeyservicedelete with: keyID: rest.keyID outputParameters: - type: object mapping: $. - path: /v1/api/v1/gpgkeys/{keyid} name: api-v1-gpgkeys-keyid description: REST surface for api-v1-gpgkeys-keyID. operations: - method: GET name: gpgkeyserviceget description: Get information about specified GPG public key from the server call: server-gpgkeyservice.gpgkeyserviceget with: keyID: rest.keyID outputParameters: - type: object mapping: $. - type: mcp namespace: server-gpgkeyservice-mcp port: 9090 transport: http description: MCP adapter for Consolidate Services — GPGKeyService. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-available-repository-certificates description: List all available repository certificates hints: readOnly: true destructive: false idempotent: true call: server-gpgkeyservice.gpgkeyservicelist with: keyID: tools.keyID outputParameters: - type: object mapping: $. - name: create-one-more-gpg-public description: Create one or more GPG public keys in the server's configuration hints: readOnly: false destructive: false idempotent: false call: server-gpgkeyservice.gpgkeyservicecreate with: body: tools.body upsert: tools.upsert outputParameters: - type: object mapping: $. - name: delete-specified-gpg-public-key description: Delete specified GPG public key from the server's configuration hints: readOnly: false destructive: true idempotent: true call: server-gpgkeyservice.gpgkeyservicedelete with: keyID: tools.keyID outputParameters: - type: object mapping: $. - name: get-information-about-specified-gpg description: Get information about specified GPG public key from the server hints: readOnly: true destructive: false idempotent: true call: server-gpgkeyservice.gpgkeyserviceget with: keyID: tools.keyID outputParameters: - type: object mapping: $.