naftiko: 1.0.0-alpha2 info: label: Argo CD — GPGKeyService description: 'Argo CD — GPGKeyService. 4 operations. Lead operation: Argo CD List All Available Repository Certificates. Self-contained Naftiko capability covering one Argo Cd business surface.' tags: - Argo Cd - GPGKeyService created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ARGO_CD_API_KEY: ARGO_CD_API_KEY capability: consumes: - type: http namespace: argo-cd-gpgkeyservice baseUri: '' description: Argo CD — GPGKeyService business capability. Self-contained, no shared references. resources: - name: api-v1-gpgkeys path: /api/v1/gpgkeys operations: - name: gpgkeyservicelist method: GET description: Argo CD 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: Argo CD 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: Argo CD 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: Argo CD 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: argo-cd-gpgkeyservice-rest port: 8080 description: REST adapter for Argo CD — 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: Argo CD List All Available Repository Certificates call: argo-cd-gpgkeyservice.gpgkeyservicelist with: keyID: rest.keyID outputParameters: - type: object mapping: $. - method: POST name: gpgkeyservicecreate description: Argo CD Create One or More GPG Public Keys in the Server's Configuration call: argo-cd-gpgkeyservice.gpgkeyservicecreate with: body: rest.body upsert: rest.upsert outputParameters: - type: object mapping: $. - method: DELETE name: gpgkeyservicedelete description: Argo CD Delete Specified GPG Public Key from the Server's Configuration call: argo-cd-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: Argo CD Get Information About Specified GPG Public Key from the Server call: argo-cd-gpgkeyservice.gpgkeyserviceget with: keyID: rest.keyID outputParameters: - type: object mapping: $. - type: mcp namespace: argo-cd-gpgkeyservice-mcp port: 9090 transport: http description: MCP adapter for Argo CD — GPGKeyService. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: argo-cd-list-all-available description: Argo CD List All Available Repository Certificates hints: readOnly: true destructive: false idempotent: true call: argo-cd-gpgkeyservice.gpgkeyservicelist with: keyID: tools.keyID outputParameters: - type: object mapping: $. - name: argo-cd-create-one-more description: Argo CD Create One or More GPG Public Keys in the Server's Configuration hints: readOnly: false destructive: false idempotent: false call: argo-cd-gpgkeyservice.gpgkeyservicecreate with: body: tools.body upsert: tools.upsert outputParameters: - type: object mapping: $. - name: argo-cd-delete-specified-gpg description: Argo CD Delete Specified GPG Public Key from the Server's Configuration hints: readOnly: false destructive: true idempotent: true call: argo-cd-gpgkeyservice.gpgkeyservicedelete with: keyID: tools.keyID outputParameters: - type: object mapping: $. - name: argo-cd-get-information-about description: Argo CD Get Information About Specified GPG Public Key from the Server hints: readOnly: true destructive: false idempotent: true call: argo-cd-gpgkeyservice.gpgkeyserviceget with: keyID: tools.keyID outputParameters: - type: object mapping: $.