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
SSH Keys → Create
AI-generatedSummary
Create a new SSH key in the Hetzner Cloud by providing a name, the public key, and optional labels.
Inputs
- Name (required) — The name to assign to the new SSH key.
- Public Key (required) — The public SSH key string to add.
- Labels — Optional key-value pairs to label the SSH key.
Output shape
a single record representing the created SSH key resource, including its details and metadata
The output contains the newly created SSH key's data as returned by Hetzner Cloud API. Labels are optional and only included if specified during creation.