110 lines
2.2 KiB
Markdown
110 lines
2.2 KiB
Markdown
[Skip to content](https://coolify.io/docs/api-reference/api/operations/get-hetzner-ssh-keys#VPContent)
|
||
|
||
Return to top
|
||
|
||
Get Hetzner SSH Keys[](https://coolify.io/docs/api-reference/api/operations/get-hetzner-ssh-keys#get-hetzner-ssh-keys)
|
||
|
||
========================================================================================================================
|
||
|
||
GET
|
||
|
||
/hetzner/ssh-keys
|
||
|
||
Get all SSH keys stored in the Hetzner account.
|
||
|
||
Authorizations[](https://coolify.io/docs/api-reference/api/operations/get-hetzner-ssh-keys#authorizations)
|
||
|
||
------------------------------------------------------------------------------------------------------------
|
||
|
||
bearerAuth
|
||
|
||
Go to `Keys & Tokens` / `API tokens` and create a new token. Use the token as the bearer token.
|
||
|
||
Type
|
||
|
||
HTTP (bearer)
|
||
|
||
Parameters[](https://coolify.io/docs/api-reference/api/operations/get-hetzner-ssh-keys#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[](https://coolify.io/docs/api-reference/api/operations/get-hetzner-ssh-keys#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[](https://coolify.io/docs/api-reference/api/operations/get-hetzner-ssh-keys#playground)
|
||
|
||
----------------------------------------------------------------------------------------------------
|
||
|
||
Authorization
|
||
|
||
bearerAuth
|
||
|
||
Variables
|
||
|
||
Key
|
||
|
||
Value
|
||
|
||
cloud\_provider\_token\_uuid
|
||
|
||
cloud\_provider\_token\_id
|
||
|
||
Try it out
|
||
|
||
Samples[](https://coolify.io/docs/api-reference/api/operations/get-hetzner-ssh-keys#samples)
|
||
|
||
----------------------------------------------------------------------------------------------
|
||
|
||
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)
|