92 lines
1.7 KiB
Markdown
92 lines
1.7 KiB
Markdown
[Skip to content](https://coolify.io/docs/api-reference/api/operations/list-private-keys#VPContent)
|
||
|
||
Return to top
|
||
|
||
List[](https://coolify.io/docs/api-reference/api/operations/list-private-keys#list)
|
||
|
||
=====================================================================================
|
||
|
||
GET
|
||
|
||
/security/keys
|
||
|
||
List all private keys.
|
||
|
||
Authorizations[](https://coolify.io/docs/api-reference/api/operations/list-private-keys#authorizations)
|
||
|
||
---------------------------------------------------------------------------------------------------------
|
||
|
||
bearerAuth
|
||
|
||
Go to `Keys & Tokens` / `API tokens` and create a new token. Use the token as the bearer token.
|
||
|
||
Type
|
||
|
||
HTTP (bearer)
|
||
|
||
Responses[](https://coolify.io/docs/api-reference/api/operations/list-private-keys#responses)
|
||
|
||
-----------------------------------------------------------------------------------------------
|
||
|
||
200400401
|
||
|
||
Get all private keys.
|
||
|
||
Content-Type
|
||
|
||
application/json
|
||
|
||
SchemaJSON
|
||
|
||
JSON
|
||
|
||
\[\
|
||
\
|
||
{\
|
||
\
|
||
"id": 0,\
|
||
\
|
||
"uuid": "string",\
|
||
\
|
||
"name": "string",\
|
||
\
|
||
"description": "string",\
|
||
\
|
||
"private\_key": "string",\
|
||
\
|
||
"public\_key": "string",\
|
||
\
|
||
"fingerprint": "string",\
|
||
\
|
||
"is\_git\_related": true,\
|
||
\
|
||
"team\_id": 0,\
|
||
\
|
||
"created\_at": "string",\
|
||
\
|
||
"updated\_at": "string"\
|
||
\
|
||
}\
|
||
\
|
||
\]
|
||
|
||
GET
|
||
|
||
/security/keys
|
||
|
||
Playground[](https://coolify.io/docs/api-reference/api/operations/list-private-keys#playground)
|
||
|
||
-------------------------------------------------------------------------------------------------
|
||
|
||
Authorization
|
||
|
||
bearerAuth
|
||
|
||
Try it out
|
||
|
||
Samples[](https://coolify.io/docs/api-reference/api/operations/list-private-keys#samples)
|
||
|
||
-------------------------------------------------------------------------------------------
|
||
|
||
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)
|