Actions47
- Image Actions
- Server Type Actions
- Server Actions
- Server Action Actions
- Primary IP Actions
- Floating IP Actions
- Firewall Actions
- Certificate Actions
- Load Balancer Actions
- Network Actions
- SSH Keys Actions
- Volume Actions
Certificate → Create
AI-generatedSummary
Create a new SSL certificate in Hetzner Cloud with specified details such as name, type (uploaded or managed), associated domain names, private key, and optional user-defined labels.
Inputs
- Name (required) — Name of the Certificate.
- Type — Type of the certificate, either 'uploaded' for user-provided certificates or 'managed' for Hetzner-managed certificates.
- Domain Names — List of domain names to include in the certificate.
- Private Key — Private key associated with the certificate, required for uploaded certificates.
- Labels — Optional user-defined labels as key-value pairs to tag the certificate with.
Output shape
a single JSON object representing the newly created certificate including its properties and metadata.
The operation returns the details of the created certificate as provided by the Hetzner Cloud API response.
Examples
Example 1: Create an uploaded type certificate with custom domain names and private key.
Specify certificate 'Name', set 'Type' to 'uploaded', provide the 'Domain Names', and include the 'Private Key'. Optionally add labels as key-value pairs.
Example 2: Create a managed type certificate with domain names and labels but no private key.
Specify 'Name', set 'Type' to 'managed', provide the domain names, and optionally define labels. Do not provide a private key.