There's a cyclic dependency on siderolink library which imports talos machinery back. We will fix that after we get talos pushed under a new name. Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
25 lines
674 B
Protocol Buffer
25 lines
674 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package securityapi;
|
|
|
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/security";
|
|
|
|
// The security service definition.
|
|
service SecurityService {
|
|
rpc Certificate(CertificateRequest) returns (CertificateResponse);
|
|
}
|
|
|
|
// The request message containing the certificate signing request.
|
|
message CertificateRequest {
|
|
// Certificate Signing Request in PEM format.
|
|
bytes csr = 1;
|
|
}
|
|
|
|
// The response message containing signed certificate.
|
|
message CertificateResponse {
|
|
// Certificate of the CA that signed the requested certificate in PEM format.
|
|
bytes ca = 1;
|
|
// Signed X.509 requested certificate in PEM format.
|
|
bytes crt = 2;
|
|
}
|