naftiko: 1.0.0-alpha2 info: label: SSH Key Management API — Certificates description: 'SSH Key Management API — Certificates. 2 operations. Lead operation: Sign SSH Certificate. Self-contained Naftiko capability covering one Ssh business surface.' tags: - Ssh - Certificates created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SSH_API_KEY: SSH_API_KEY capability: consumes: - type: http namespace: key-management-certificates baseUri: https://api.openssh.example.com/v1 description: SSH Key Management API — Certificates business capability. Self-contained, no shared references. resources: - name: certificates path: /certificates operations: - name: signcertificate method: POST description: Sign SSH Certificate outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: listcertificates method: GET description: List Certificates outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: principal in: query type: string description: Filter by principal (username) - name: hostKey in: query type: boolean description: Filter host certificates - name: expired in: query type: boolean description: Include expired certificates authentication: type: bearer token: '{{env.SSH_API_KEY}}' exposes: - type: rest namespace: key-management-certificates-rest port: 8080 description: REST adapter for SSH Key Management API — Certificates. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/certificates name: certificates description: REST surface for certificates. operations: - method: POST name: signcertificate description: Sign SSH Certificate call: key-management-certificates.signcertificate with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listcertificates description: List Certificates call: key-management-certificates.listcertificates with: principal: rest.principal hostKey: rest.hostKey expired: rest.expired outputParameters: - type: object mapping: $. - type: mcp namespace: key-management-certificates-mcp port: 9090 transport: http description: MCP adapter for SSH Key Management API — Certificates. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: sign-ssh-certificate description: Sign SSH Certificate hints: readOnly: false destructive: false idempotent: false call: key-management-certificates.signcertificate with: body: tools.body outputParameters: - type: object mapping: $. - name: list-certificates description: List Certificates hints: readOnly: true destructive: false idempotent: true call: key-management-certificates.listcertificates with: principal: tools.principal hostKey: tools.hostKey expired: tools.expired outputParameters: - type: object mapping: $.