get.porter.sh/porter@v1.3.0/pkg/secrets/plugins/proto/secrets_protocol.proto (about)

     1  syntax = "proto3";
     2  package plugins;
     3  
     4  option go_package = "get.porter.sh/porter/pkg/secrets/plugins/proto";
     5  
     6  message ResolveRequest {
     7    string KeyName = 1;
     8    string KeyValue = 2;
     9  }
    10  
    11  message CreateRequest {
    12    string KeyName = 1;
    13    string KeyValue = 2;
    14    string Value = 3;
    15  }
    16  
    17  message ResolveResponse {
    18    string Value = 1;
    19  }
    20  
    21  message CreateResponse {}
    22  
    23  service SecretsProtocol {
    24    rpc Resolve(ResolveRequest) returns (ResolveResponse);
    25    rpc Create(CreateRequest) returns (CreateResponse);
    26  }