PKI
Public keys that verify the tokens this control plane issues.
2 endpoints · Plakar Control Plane v0.18 · Base URL, authentication and errors
List the public keys
GET
No authentication
/api/v1/pki/keys
Response 200 OK application/json
-
keysarray[object]-
algstring -
crvstring -
kidstring -
ktistring -
usestring -
xstring
-
Errors
- 400 Bad Request (validation or deserialization error)
- 500 Internal Server Error (panics)
Every error returns the standard error body.
Request
curl 'https://pcp.example.com/api/v1/pki/keys'Response 200
{
"keys": [
{
"alg": "string",
"crv": "string",
"kid": "string",
"kti": "string",
"use": "string",
"x": "string"
}
]
}Get a public key
GET
No authentication
/api/v1/pki/keys/{keyid}
Path parameters
-
keyidstring required
Response 200 OK application/json
-
public_keystring
Errors
- 400 Bad Request (validation or deserialization error)
- 500 Internal Server Error (panics)
Every error returns the standard error body.
Request
curl 'https://pcp.example.com/api/v1/pki/keys/{keyid}'Response 200
{
"public_key": "string"
}