2022-06-21 17:59:12 +02:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package init;
|
|
|
|
|
2022-06-29 15:26:29 +02:00
|
|
|
option go_package = "github.com/edgelesssys/constellation/bootstrapper/initproto";
|
2022-06-21 17:59:12 +02:00
|
|
|
|
|
|
|
service API {
|
|
|
|
rpc Init(InitRequest) returns (InitResponse);
|
|
|
|
}
|
|
|
|
|
|
|
|
message InitRequest {
|
|
|
|
repeated string autoscaling_node_groups = 1;
|
|
|
|
bytes master_secret = 2;
|
|
|
|
string kms_uri = 3;
|
|
|
|
string storage_uri = 4;
|
|
|
|
string key_encryption_key_id = 5;
|
|
|
|
bool use_existing_kek = 6;
|
|
|
|
string cloud_service_account_uri = 7;
|
|
|
|
string kubernetes_version = 8;
|
|
|
|
repeated SSHUserKey ssh_user_keys = 9;
|
2022-07-29 09:52:47 +02:00
|
|
|
bytes salt = 10;
|
2022-08-12 10:20:19 +02:00
|
|
|
bytes helm_deployments = 11;
|
2022-08-12 15:59:45 +02:00
|
|
|
repeated uint32 enforced_pcrs = 12;
|
2022-08-29 16:41:09 +02:00
|
|
|
bool enforce_idkeydigest = 13;
|
2022-06-21 17:59:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
message InitResponse {
|
|
|
|
bytes kubeconfig = 1;
|
|
|
|
bytes owner_id = 2;
|
|
|
|
bytes cluster_id = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message SSHUserKey {
|
|
|
|
string username = 1;
|
|
|
|
string public_key = 2;
|
|
|
|
}
|