Actions111
- Action Actions
- Certificate Actions
- Datacenter Actions
- Firewall Actions
- Floating IP Actions
- Image Actions
- ISO Actions
- Load Balancer Actions
- Load Balancer Type Actions
- Location Actions
- Network Actions
- Placement Group Actions
- Pricing Actions
- Primary IP Actions
- Server Actions
- Server Type Actions
- SSH Key Actions
- Volume Actions
SSH Key → Create
AI-generatedSummary
Create an SSH key in the Hetzner Cloud project by sending its name and OpenSSH public key to the Hetzner Cloud API. The operation returns the created SSH key record.
Inputs
- Name (required) — Unique name for the SSH key.
- Public Key (required) — Public key in OpenSSH format.
- Additional Body Fields (JSON) — Optional extra properties to merge into the request body.
- Request Options — Optional batching, SSL certificate validation, proxy, and request timeout settings.
Output shape
A single SSH key record
The response is unwrapped from the API's ssh_key property.