talos/api/security/security.proto
Andrey Smirnov 96aa9638f7
chore: rename talos-systems/talos to siderolabs/talos
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>
2022-11-03 16:50:32 +04:00

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;
}