pki
Vesta API · 6.0.75 · Community
GET/api/v1/pki/backend-certGet Backend Cert
Download backend client cert+key for OKD secret mounting (admin only). Returns JSON with cert and key PEM for manual deployment.
Authentication
Responses
200
Successful Response
application/json
Schema
{}GET/api/v1/pki/caGet Ca Cert
Download CA certificate (public, no auth required for trust distribution).
Authentication
Anonymous access
Responses
200
Successful Response
application/json
Schema
{}GET/api/v1/pki/certificatesList Certificates
List all issued certificates.
Authentication
Responses
200
Successful Response
application/json
Schema
{}POST/api/v1/pki/certificates/{cert_id}/revokeRevoke Certificate
Revoke an agent certificate.
Parameters
cert_id · path · Required
{
"title": "Cert Id",
"type": "string"
}Authentication
Responses
200
Successful Response
application/json
Schema
{}422
Validation Error
application/json
Schema
POST/api/v1/pki/initializeInitialize Ca
Initialize the built-in CA (one-time operation).
Authentication
Responses
200
Successful Response
application/json
Schema
{}POST/api/v1/pki/renewRenew Certificate
Agent submits CSR for certificate renewal.
Parameters
X-Agent-Key · header · Optional
{
"title": "X-Agent-Key",
"type": "string"
}Request body
Required
application/json
Schema
{
"additionalProperties": true,
"title": "Body",
"type": "object"
}Authentication
Responses
200
Successful Response
application/json
Schema
{}422
Validation Error
application/json
Schema
GET/api/v1/pki/statusGet Pki Status
Get CA status and certificate statistics.
Authentication
Responses
200
Successful Response
application/json
Schema
{}