blob: c0b8332abb72393bd065da8cce06ba8086bf7a6b [file] [log] [blame]
Serge Bazanski6bd41592021-08-23 13:18:37 +02001syntax = "proto3";
2package metropolis.proto.api;
3option go_package = "source.monogon.dev/metropolis/proto/api";
4
5// Management service available to Cluster Managers.
6service Management {
7 // GetRegisterTicket retrieves the current RegisterTicket which is required
8 // for new nodes to register into the cluster. Presenting this ticket on
9 // registration does not automatically grant access to arbitrary node
10 // registration. Instead, it is used to guard the API surface of the
11 // Register RPC from potential denial of service attacks, and can be
12 // regenerated at any time in case it leaks.
13 rpc GetRegisterTicket(GetRegisterTicketRequest) returns (GetRegisterTicketResponse);
14}
15
16message GetRegisterTicketRequest {
17}
18
19message GetRegisterTicketResponse {
20 // Opaque bytes that comprise the RegisterTicket.
21 bytes ticket = 1;
22}