action maif_patch_cert { label: "Update one certificate by id" description: "Update one certificate by id" provider: maif method: PATCH path: "/api/certificates/{id}" encoding: json input: { type: "object" properties: { id: { type: "string" } } required: ["id"] additionalProperties: false } output: { type: "object" description: "A SSL/TLS X509 certificate" required: ["autoRenew", "ca", "caRef", "chain", "domain", "from", "id", "privateKey", "selfSigned", "subject", "to", "valid"] properties: { autoRenew: { type: "string" description: "Allow Otoroshi to renew the certificate (if self signed)" } ca: { type: "string" description: "Certificate is a CA (read only)" } caRef: { type: "string" description: "Reference for a CA certificate in otoroshi" } chain: { type: "string" description: "Certificate chain of trust in PEM format" } domain: { type: "string" description: "Domain of the certificate (read only)" } from: { type: "string" description: "Start date of validity" } id: { type: "string" description: "Id of the certificate" } privateKey: { type: "string" description: "PKCS8 private key in PEM format" } selfSigned: { type: "string" description: "Certificate is self signed read only)" } subject: { type: "string" description: "Subject of the certificate (read only)" } to: { type: "string" description: "End date of validity" } valid: { type: "string" description: "Certificate is valid (read only)" } } } }