talos/api/security/security.proto
Eddie Zaneski 5ba1df4695
chore: add java package to protos
This option must be defined at the proto level in order to have an
import path that is reasonably usable

Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-08-26 15:23:21 +04:00

26 lines
722 B
Protocol Buffer

syntax = "proto3";
package securityapi;
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/security";
option java_package = "dev.talos.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;
}