syntax = "proto3";

package moby.buildkit.secrets.v1;

option go_package = "github.com/moby/buildkit/session/secrets";

service Secrets{
	rpc GetSecret(GetSecretRequest) returns (GetSecretResponse);
}


message GetSecretRequest {
	string ID = 1;
	map<string, string> annotations = 2;
}

message GetSecretResponse {
	bytes data = 1;
}
