2022-09-08 08:45:27 -04:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package recoverproto;
|
|
|
|
|
2022-09-22 02:48:30 -04:00
|
|
|
option go_package = "github.com/edgelesssys/constellation/v2/disk-mapper/recoverproto";
|
2022-09-08 08:45:27 -04:00
|
|
|
|
|
|
|
service API {
|
2023-01-19 09:57:50 -05:00
|
|
|
// Recover sends the necessary information to the recoveryserver to initiate recovery of a node.
|
2023-01-16 05:19:03 -05:00
|
|
|
rpc Recover(RecoverMessage) returns (RecoverResponse) {}
|
2022-09-08 08:45:27 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
message RecoverMessage {
|
2023-01-16 05:19:03 -05:00
|
|
|
// 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;
|
2022-09-08 08:45:27 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
message RecoverResponse {
|
2023-01-16 05:19:03 -05:00
|
|
|
// string disk_uuid = 1; removed
|
2022-09-08 08:45:27 -04:00
|
|
|
}
|