action hetzner_get_certificates_id { label: "Get a Certificate" description: "Gets a specific Certificate object." provider: hetzner method: GET path: "/certificates/{id}" encoding: json input: { type: "object" properties: { id: { type: "integer" } } required: ["id"] additionalProperties: false } output: { type: "object" required: ["certificate"] properties: { certificate: { type: "object" required: ["certificate", "created", "domain_names", "fingerprint", "id", "labels", "name", "not_valid_after", "not_valid_before", "used_by"] properties: { certificate: { type: "string" description: "Certificate and chain in PEM format, in order so that each record directly certifies the one preceding" } created: { type: "string" description: "Point in time when the Resource was created (in ISO-8601 format)" } domain_names: { type: "array" description: "Domains and subdomains covered by the Certificate" items: { type: "string" } } fingerprint: { type: "string" description: "SHA256 fingerprint of the Certificate" } id: { type: "integer" description: "ID of the Resource" } labels: { type: "object" description: "User-defined labels (key-value pairs)" } name: { type: "string" description: "Name of the Resource. Must be unique per Project." } not_valid_after: { type: "string" description: "Point in time when the Certificate stops being valid (in ISO-8601 format)" } not_valid_before: { type: "string" description: "Point in time when the Certificate becomes valid (in ISO-8601 format)" } status: { type: "object" description: "Current status of a type `managed` Certificate, always *null* for type `uploaded` Certificates" properties: { error: { type: "object" description: "If issuance or renewal reports `failed`, this property contains information about what happened" properties: { code: { type: "string" } message: { type: "string" } } } issuance: { type: "string" description: "Status of the issuance process of the Certificate" enum: ["pending", "completed", "failed"] } renewal: { type: "string" description: "Status of the renewal process of the Certificate." enum: ["scheduled", "pending", "failed", "unavailable"] } } } type: { type: "string" description: "Type of the Certificate" enum: ["uploaded", "managed"] } used_by: { type: "array" description: "Resources currently using the Certificate" items: { type: "object" required: ["id", "type"] properties: { id: { type: "integer" description: "ID of resource referenced" } type: { type: "string" description: "Type of resource referenced" } } } } } } } } }