mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-29 01:16:12 -05:00
90b88e1cf9
In the light of extending our eKMS support it will be helpful to have a tighter use of the word "KMS". KMS should refer to the actual component that manages keys. The keyservice, also called KMS in the constellation code, does not manage keys itself. It talks to a KMS backend, which in turn does the actual key management.
19 lines
347 B
Protocol Buffer
19 lines
347 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package kms;
|
|
|
|
option go_package = "github.com/edgelesssys/constellation/v2/keyservice/keyserviceproto";
|
|
|
|
service API {
|
|
rpc GetDataKey(GetDataKeyRequest) returns (GetDataKeyResponse);
|
|
}
|
|
|
|
message GetDataKeyRequest {
|
|
string data_key_id = 1;
|
|
uint32 length = 2;
|
|
}
|
|
|
|
message GetDataKeyResponse {
|
|
bytes data_key = 1;
|
|
}
|