mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-26 07:59:37 -05:00
4adc19b7f5
* Add join-config entry for "enforceIdKeyDigest" bool * Add join-config entry for "idkeydigest" * Initially filled with TPM value from bootstrapper * Add config entries for idkeydigest and enforceIdKeyDigest * Extend azure attestation validator to check idkeydigest, if configured. * Update unittests * Add logger to NewValidator for all CSPs * Add csp to Updateable type Co-authored-by: Thomas Tendyck <51411342+thomasten@users.noreply.github.com> Co-authored-by: Daniel Weiße <dw@edgeless.systems>
37 lines
804 B
Protocol Buffer
37 lines
804 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package init;
|
|
|
|
option go_package = "github.com/edgelesssys/constellation/bootstrapper/initproto";
|
|
|
|
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;
|
|
bytes salt = 10;
|
|
bytes helm_deployments = 11;
|
|
repeated uint32 enforced_pcrs = 12;
|
|
bool enforce_idkeydigest = 13;
|
|
}
|
|
|
|
message InitResponse {
|
|
bytes kubeconfig = 1;
|
|
bytes owner_id = 2;
|
|
bytes cluster_id = 3;
|
|
}
|
|
|
|
message SSHUserKey {
|
|
string username = 1;
|
|
string public_key = 2;
|
|
}
|