2.2 KiB
Return to top
Get Hetzner SSH Keys
========================================================================================================================
GET
/hetzner/ssh-keys
Get all SSH keys stored in the Hetzner account.
Authorizations
bearerAuth
Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.
Type
HTTP (bearer)
Parameters
Query Parameters
cloud_provider_token_uuid
Cloud provider token UUID. Required if cloud_provider_token_id is not provided.
Type
string
cloud_provider_token_id
Deprecated: Use cloud_provider_token_uuid instead. Cloud provider token UUID.
Type
string
Responses
200401404
List of Hetzner SSH keys.
Content-Type
application/json
SchemaJSON
JSON
[
{
"id": 0,
"name": "string",
"fingerprint": "string",
"public_key": "string"
}
]
GET
/hetzner/ssh-keys
Playground
Authorization
bearerAuth
Variables
Key
Value
cloud_provider_token_uuid
cloud_provider_token_id
Try it out
Samples
Powered by VitePress OpenAPI