naftiko: 1.0.0-alpha2 info: label: Consolidate Services — CertificateService description: 'Consolidate Services — CertificateService. 3 operations. Lead operation: List all available repository certificates. Self-contained Naftiko capability covering one Argocd business surface.' tags: - Argocd - CertificateService created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ARGOCD_API_KEY: ARGOCD_API_KEY capability: consumes: - type: http namespace: server-certificateservice baseUri: '' description: Consolidate Services — CertificateService business capability. Self-contained, no shared references. resources: - name: api-v1-certificates path: /api/v1/certificates operations: - name: certificateservicelistcertificates method: GET description: List all available repository certificates outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: hostNamePattern in: query type: string description: A file-glob pattern (not regular expression) the host name has to match. - name: certType in: query type: string description: The type of the certificate to match (ssh or https). - name: certSubType in: query type: string description: The sub type of the certificate to match (protocol dependent, usually only used for ssh certs). - name: certificateservicecreatecertificate method: POST description: Creates repository certificates on the server outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: string description: List of certificates to be created required: true - name: upsert in: query type: boolean description: Whether to upsert already existing certificates. - name: certificateservicedeletecertificate method: DELETE description: Delete the certificates that match the RepositoryCertificateQuery outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: hostNamePattern in: query type: string description: A file-glob pattern (not regular expression) the host name has to match. - name: certType in: query type: string description: The type of the certificate to match (ssh or https). - name: certSubType in: query type: string description: The sub type of the certificate to match (protocol dependent, usually only used for ssh certs). exposes: - type: rest namespace: server-certificateservice-rest port: 8080 description: REST adapter for Consolidate Services — CertificateService. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v1/certificates name: api-v1-certificates description: REST surface for api-v1-certificates. operations: - method: GET name: certificateservicelistcertificates description: List all available repository certificates call: server-certificateservice.certificateservicelistcertificates with: hostNamePattern: rest.hostNamePattern certType: rest.certType certSubType: rest.certSubType outputParameters: - type: object mapping: $. - method: POST name: certificateservicecreatecertificate description: Creates repository certificates on the server call: server-certificateservice.certificateservicecreatecertificate with: body: rest.body upsert: rest.upsert outputParameters: - type: object mapping: $. - method: DELETE name: certificateservicedeletecertificate description: Delete the certificates that match the RepositoryCertificateQuery call: server-certificateservice.certificateservicedeletecertificate with: hostNamePattern: rest.hostNamePattern certType: rest.certType certSubType: rest.certSubType outputParameters: - type: object mapping: $. - type: mcp namespace: server-certificateservice-mcp port: 9090 transport: http description: MCP adapter for Consolidate Services — CertificateService. 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-certificateservice.certificateservicelistcertificates with: hostNamePattern: tools.hostNamePattern certType: tools.certType certSubType: tools.certSubType outputParameters: - type: object mapping: $. - name: creates-repository-certificates-server description: Creates repository certificates on the server hints: readOnly: false destructive: false idempotent: false call: server-certificateservice.certificateservicecreatecertificate with: body: tools.body upsert: tools.upsert outputParameters: - type: object mapping: $. - name: delete-certificates-that-match-repositorycertificatequery description: Delete the certificates that match the RepositoryCertificateQuery hints: readOnly: false destructive: true idempotent: true call: server-certificateservice.certificateservicedeletecertificate with: hostNamePattern: tools.hostNamePattern certType: tools.certType certSubType: tools.certSubType outputParameters: - type: object mapping: $.