constellation/disk-mapper/recoverproto/recover.proto

24 lines
725 B
Protocol Buffer
Raw Normal View History

syntax = "proto3";
package recoverproto;
2022-09-22 06:48:30 +00:00
option go_package = "github.com/edgelesssys/constellation/v2/disk-mapper/recoverproto";
service API {
// Recover sends the necessary information to the recoveryserver to initiate recovery of a node.
rpc Recover(RecoverMessage) returns (RecoverResponse) {}
}
message RecoverMessage {
// bytes state_disk_key = 1; removed
// bytes measurement_secret = 2; removed
// kms_uri is the URI of the KMS the recoveryserver should use to decrypt DEKs.
string kms_uri = 3;
// storage_uri is the URI of the storage location the recoveryserver should use to fetch DEKs.
string storage_uri = 4;
}
message RecoverResponse {
// string disk_uuid = 1; removed
}