openapi: 3.0.1 info: title: Conduktor Certificates API description: Unified specification of the Conduktor REST API surface, covering the Conduktor Console API (clusters, certificates, users, groups, RBAC permissions, and declarative Self-Service resources) and the Conduktor Gateway API (interceptors, virtual clusters, service accounts, and tokens). Console endpoints authenticate with an admin-generated Bearer API key; Gateway admin endpoints authenticate with Basic auth. Host names are deployment-specific. termsOfService: https://www.conduktor.io/terms-and-conditions/ contact: name: Conduktor Support url: https://www.conduktor.io/contact/ version: '1.0' servers: - url: https://{consoleHost} description: Conduktor Console deployment host variables: consoleHost: default: localhost:8080 description: Host and port of your Conduktor Console deployment - url: https://{gatewayAdminHost}:8888 description: Conduktor Gateway admin API host variables: gatewayAdminHost: default: localhost description: Host of your Conduktor Gateway admin endpoint tags: - name: Certificates description: Manage cluster certificates in Console paths: /public/v1/certificates: get: operationId: listCertificates tags: - Certificates summary: List trusted certificates security: - bearerAuth: [] responses: '200': description: Certificates. content: application/json: schema: type: array items: $ref: '#/components/schemas/Certificate' post: operationId: upsertCertificate tags: - Certificates summary: Create or update a trusted certificate security: - bearerAuth: [] requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/Certificate' responses: '200': description: Certificate created or updated. components: schemas: Certificate: type: object properties: name: type: string certificate: type: string description: PEM-encoded certificate chain. securitySchemes: bearerAuth: type: http scheme: bearer description: 'Console API key generated by an admin in Settings > API Keys, passed as Authorization: Bearer $ADMIN_API_KEY.' basicAuth: type: http scheme: basic description: Gateway admin credentials (GATEWAY_ADMIN_API_USERS), passed as HTTP Basic authentication to the Gateway admin API.