Update data values from byte arrays to strings in proto definition (#3829)

* Update data values from byte arrays to strings in proto definition

* Update comments
This commit is contained in:
Brian Kassouf 2018-01-22 17:56:34 -08:00 committed by GitHub
parent 524ec14f9d
commit b597e14f01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 165 additions and 165 deletions

View file

@ -91,7 +91,7 @@ func (s *gRPCSystemViewClient) ResponseWrapData(ctx context.Context, data map[st
}
reply, err := s.client.ResponseWrapData(ctx, &pb.ResponseWrapDataArgs{
Data: buf,
Data: string(buf[:]),
TTL: int64(ttl),
JWT: false,
})
@ -171,7 +171,7 @@ func (s *gRPCSystemViewServer) ReplicationState(ctx context.Context, _ *pb.Empty
func (s *gRPCSystemViewServer) ResponseWrapData(ctx context.Context, args *pb.ResponseWrapDataArgs) (*pb.ResponseWrapDataReply, error) {
data := map[string]interface{}{}
err := json.Unmarshal(args.Data, &data)
err := json.Unmarshal([]byte(args.Data), &data)
if err != nil {
return &pb.ResponseWrapDataReply{}, err
}

View file

@ -188,8 +188,8 @@ type Request struct {
// and the AWS logical backend is mounted at "prod/aws/", then the
// final path is "foo" since the mount prefix is trimmed.
Path string `sentinel:"" protobuf:"bytes,4,opt,name=path" json:"path,omitempty"`
// Request data is an opaque map that must have string keys.
Data []byte `sentinel:"" protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
// Request data is a json object that must have keys with string type.
Data string `sentinel:"" protobuf:"bytes,5,opt,name=data" json:"data,omitempty"`
// Secret will be non-nil only for Revoke and Renew operations
// to represent the secret that was returned prior.
Secret *Secret `sentinel:"" protobuf:"bytes,6,opt,name=secret" json:"secret,omitempty"`
@ -273,11 +273,11 @@ func (m *Request) GetPath() string {
return ""
}
func (m *Request) GetData() []byte {
func (m *Request) GetData() string {
if m != nil {
return m.Data
}
return nil
return ""
}
func (m *Request) GetSecret() *Secret {
@ -419,7 +419,7 @@ type Auth struct {
// InternalData is JSON-encodable data that is stored with the auth struct.
// This will be sent back during a Renew/Revoke for storing internal data
// used for those operations.
InternalData []byte `sentinel:"" protobuf:"bytes,2,opt,name=internal_data,json=internalData,proto3" json:"internal_data,omitempty"`
InternalData string `sentinel:"" protobuf:"bytes,2,opt,name=internal_data,json=internalData" json:"internal_data,omitempty"`
// DisplayName is a non-security sensitive identifier that is
// applicable to this Auth. It is used for logging and prefixing
// of dynamic secrets. For example, DisplayName may be "armon" for
@ -475,11 +475,11 @@ func (m *Auth) GetLeaseOptions() *LeaseOptions {
return nil
}
func (m *Auth) GetInternalData() []byte {
func (m *Auth) GetInternalData() string {
if m != nil {
return m.InternalData
}
return nil
return ""
}
func (m *Auth) GetDisplayName() string {
@ -594,10 +594,10 @@ func (m *LeaseOptions) GetIssueTime() *google_protobuf.Timestamp {
type Secret struct {
LeaseOptions *LeaseOptions `sentinel:"" protobuf:"bytes,1,opt,name=lease_options,json=leaseOptions" json:"lease_options,omitempty"`
// InternalData is JSON-encodable data that is stored with the secret.
// InternalData is JSON objext that is stored with the secret.
// This will be sent back during a Renew/Revoke for storing internal data
// used for those operations.
InternalData []byte `sentinel:"" protobuf:"bytes,2,opt,name=internal_data,json=internalData,proto3" json:"internal_data,omitempty"`
InternalData string `sentinel:"" protobuf:"bytes,2,opt,name=internal_data,json=internalData" json:"internal_data,omitempty"`
// LeaseID is the ID returned to the user to manage this secret.
// This is generated by Vault core. Any set value will be ignored.
// For requests, this will always be blank.
@ -616,11 +616,11 @@ func (m *Secret) GetLeaseOptions() *LeaseOptions {
return nil
}
func (m *Secret) GetInternalData() []byte {
func (m *Secret) GetInternalData() string {
if m != nil {
return m.InternalData
}
return nil
return ""
}
func (m *Secret) GetLeaseID() string {
@ -637,11 +637,11 @@ type Response struct {
// this response. This is only checked and means something for
// credential backends.
Auth *Auth `sentinel:"" protobuf:"bytes,2,opt,name=auth" json:"auth,omitempty"`
// Response data is an opaque map that must have string keys. For
// Response data is JSON object that must have string keys. For
// secrets, this data is sent down to the user as-is. To store internal
// data that you don't want the user to see, store it in
// Secret.InternalData.
Data []byte `sentinel:"" protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
Data string `sentinel:"" protobuf:"bytes,3,opt,name=data" json:"data,omitempty"`
// Redirect is an HTTP URL to redirect to for further authentication.
// This is only valid for credential backends. This will be blanked
// for any logical backend and ignored.
@ -672,11 +672,11 @@ func (m *Response) GetAuth() *Auth {
return nil
}
func (m *Response) GetData() []byte {
func (m *Response) GetData() string {
if m != nil {
return m.Data
}
return nil
return ""
}
func (m *Response) GetRedirect() string {
@ -1313,7 +1313,7 @@ func (m *ReplicationStateReply) GetState() int32 {
}
type ResponseWrapDataArgs struct {
Data []byte `sentinel:"" protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
Data string `sentinel:"" protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
TTL int64 `sentinel:"" protobuf:"varint,2,opt,name=TTL" json:"TTL,omitempty"`
JWT bool `sentinel:"" protobuf:"varint,3,opt,name=JWT" json:"JWT,omitempty"`
}
@ -1323,11 +1323,11 @@ func (m *ResponseWrapDataArgs) String() string { return proto.Compact
func (*ResponseWrapDataArgs) ProtoMessage() {}
func (*ResponseWrapDataArgs) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{36} }
func (m *ResponseWrapDataArgs) GetData() []byte {
func (m *ResponseWrapDataArgs) GetData() string {
if m != nil {
return m.Data
}
return nil
return ""
}
func (m *ResponseWrapDataArgs) GetTTL() int64 {
@ -2190,132 +2190,132 @@ var _SystemView_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("logical/plugin/pb/backend.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 2030 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xef, 0x6e, 0xdb, 0xc8,
0x11, 0x87, 0x24, 0x4b, 0xa2, 0x46, 0x92, 0xff, 0x6c, 0x7c, 0x29, 0xa3, 0xe4, 0x6a, 0x95, 0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0xac,
0x6f, 0xb0, 0xaa, 0xa4, 0x9f, 0xa3, 0xd0, 0x4f, 0xa0, 0xa1, 0x51, 0x44, 0x27, 0x65, 0x05, 0x7f,
0x74, 0x81, 0xac, 0xe2, 0xcd, 0xe8, 0x6f, 0x35, 0x80, 0xb3, 0x79, 0x22, 0x71, 0xf6, 0x6b, 0x1f,
0x6f, 0xd9, 0x13, 0xd8, 0x7a, 0x81, 0x97, 0x3c, 0x0d, 0x24, 0xbd, 0xf5, 0x55, 0xb7, 0x14, 0x72,
0x42, 0xcf, 0x95, 0x1c, 0x8c, 0xf6, 0xa1, 0xfd, 0x9a, 0xbf, 0x79, 0xbb, 0xde, 0xa7, 0xd0, 0x2d,
0x61, 0x8c, 0x09, 0x71, 0x19, 0xb5, 0x4c, 0x88, 0xab, 0x68, 0xb4, 0x0f, 0x4d, 0x83, 0x3c, 0x45,
0x1f, 0x84, 0xd1, 0x25, 0x44, 0xfa, 0x31, 0x6c, 0x2d, 0xe1, 0x4e, 0x51, 0x9f, 0x7e, 0x00, 0xad,
0xc5, 0xa5, 0xe7, 0xea, 0xad, 0x5e, 0xc6, 0x9e, 0xe2, 0xc6, 0x07, 0xba, 0xdf, 0xd7, 0x81, 0xd3,
0xcb, 0xf2, 0x2b, 0x9f, 0xbe, 0x71, 0xec, 0x65, 0x78, 0xc8, 0xc0, 0x29, 0x33, 0xb4, 0x0e, 0x66,
0x9e, 0x42, 0xa7, 0x88, 0x10, 0x2b, 0x6d, 0xba, 0x02, 0x1f, 0x17, 0x0d, 0x7a, 0xe9, 0xff, 0xe0,
0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x2b, 0x08, 0x2c, 0x55, 0x24, 0x15, 0x00, 0x00,
// 2025 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xef, 0x6e, 0xe3, 0xc6,
0x11, 0x87, 0x24, 0x4b, 0xa2, 0x46,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 0xb4, 0xac, 0x6f, 0xb0, 0xaa, 0xa4, 0x9f,
0xa3, 0xd0, 0x4f, 0xa0, 0xa1, 0x51, 0x44, 0x27, 0x65, 0x05, 0x7f, 0x74, 0x81, 0xac, 0xe2, 0xcd,
0xe8, 0x6f, 0x35, 0x80, 0x8b, 0x79, 0x22, 0x70, 0xf6, 0x6b, 0x86, 0x77, 0xe4, 0x09, 0x6c, 0xbd,
0xc0, 0x2b, 0x9a, 0x06, 0x42, 0xbd, 0xf5, 0x65, 0xb7, 0x14, 0x72, 0xa2, 0x9e, 0x2b, 0x39, 0x18,
0x1d, 0x42, 0xfb, 0x35, 0x7d, 0xf3, 0x76, 0xbd, 0x4f, 0xa1, 0x5b, 0xc2, 0x18, 0x13, 0xe2, 0x32,
0x6a, 0x99, 0x10, 0x57, 0xd1, 0xe8, 0x10, 0x9a, 0x06, 0x79, 0x8a, 0x3e, 0x14, 0x46, 0x97, 0x10,
0xe9, 0xc7, 0xb0, 0xb5, 0x84, 0x3b, 0x45, 0x7d, 0xf5, 0x03, 0x68, 0x2d, 0x2e, 0x3d, 0x97, 0x6f,
0xf5, 0x32, 0xf6, 0x14, 0x37, 0xee, 0xeb, 0x7e, 0x5f, 0x07, 0x4e, 0x2f, 0xcb, 0xaf, 0x7c, 0xf5,
0x8d, 0x63, 0x2f, 0xc3, 0x43, 0x06, 0x4e, 0x99, 0xa1, 0x75, 0x30, 0xf3, 0x14, 0x3a, 0x45, 0x84,
0x58, 0x69, 0xd3, 0x15, 0xf8, 0xb8, 0x6c, 0xa8, 0x97, 0xfe, 0x0f, 0xfe, 0x1d, 0x00, 0x00, 0xff,
0xff, 0xde, 0xe9, 0x24, 0xef, 0x24, 0x15, 0x00, 0x00,
}

View file

@ -50,8 +50,8 @@ message Request {
// final path is "foo" since the mount prefix is trimmed.
string path = 4;
// Request data is an opaque map that must have string keys.
bytes data = 5;
// Request data is a JSON object that must have keys with string type.
string data = 5;
// Secret will be non-nil only for Revoke and Renew operations
// to represent the secret that was returned prior.
@ -131,10 +131,10 @@ message Alias {
message Auth {
LeaseOptions lease_options = 1;
// InternalData is JSON-encodable data that is stored with the auth struct.
// InternalData is a JSON object that is stored with the auth struct.
// This will be sent back during a Renew/Revoke for storing internal data
// used for those operations.
bytes internal_data = 2;
string internal_data = 2;
// DisplayName is a non-security sensitive identifier that is
// applicable to this Auth. It is used for logging and prefixing
@ -201,10 +201,10 @@ message LeaseOptions {
message Secret {
LeaseOptions lease_options = 1;
// InternalData is JSON-encodable data that is stored with the secret.
// InternalData is a JSON object that is stored with the secret.
// This will be sent back during a Renew/Revoke for storing internal data
// used for those operations.
bytes internal_data = 2;
string internal_data = 2;
// LeaseID is the ID returned to the user to manage this secret.
// This is generated by Vault core. Any set value will be ignored.
@ -221,11 +221,11 @@ message Response {
// credential backends.
Auth auth = 2;
// Response data is an opaque map that must have string keys. For
// Response data is a JSON object that must have string keys. For
// secrets, this data is sent down to the user as-is. To store internal
// data that you don't want the user to see, store it in
// Secret.InternalData.
bytes data = 3;
string data = 3;
// Redirect is an HTTP URL to redirect to for further authentication.
// This is only valid for credential backends. This will be blanked
@ -422,7 +422,7 @@ message ReplicationStateReply {
}
message ResponseWrapDataArgs {
bytes data = 1;
string data = 1;
int64 TTL = 2;
bool JWT = 3;
}

View file

@ -159,7 +159,7 @@ func ProtoSecretToLogicalSecret(s *Secret) (*logical.Secret, error) {
}
data := map[string]interface{}{}
err := json.Unmarshal(s.InternalData, &data)
err := json.Unmarshal([]byte(s.InternalData), &data)
if err != nil {
return nil, err
}
@ -193,7 +193,7 @@ func LogicalSecretToProtoSecret(s *logical.Secret) (*Secret, error) {
return &Secret{
LeaseOptions: lease,
InternalData: buf,
InternalData: string(buf[:]),
LeaseID: s.LeaseID,
}, err
}
@ -228,7 +228,7 @@ func LogicalRequestToProtoRequest(r *logical.Request) (*Request, error) {
ReplicationCluster: r.ReplicationCluster,
Operation: string(r.Operation),
Path: r.Path,
Data: buf,
Data: string(buf[:]),
Secret: secret,
Auth: auth,
Headers: headers,
@ -253,7 +253,7 @@ func ProtoRequestToLogicalRequest(r *Request) (*logical.Request, error) {
}
data := map[string]interface{}{}
err := json.Unmarshal(r.Data, &data)
err := json.Unmarshal([]byte(r.Data), &data)
if err != nil {
return nil, err
}
@ -340,7 +340,7 @@ func ProtoResponseToLogicalResponse(r *Response) (*logical.Response, error) {
}
data := map[string]interface{}{}
err = json.Unmarshal(r.Data, &data)
err = json.Unmarshal([]byte(r.Data), &data)
if err != nil {
return nil, err
}
@ -434,7 +434,7 @@ func LogicalResponseToProtoResponse(r *logical.Response) (*Response, error) {
return &Response{
Secret: secret,
Auth: auth,
Data: buf,
Data: string(buf[:]),
Redirect: r.Redirect,
Warnings: r.Warnings,
WrapInfo: wrapInfo,
@ -487,7 +487,7 @@ func LogicalAuthToProtoAuth(a *logical.Auth) (*Auth, error) {
return &Auth{
LeaseOptions: lo,
InternalData: buf,
InternalData: string(buf[:]),
DisplayName: a.DisplayName,
Policies: a.Policies,
Metadata: a.Metadata,
@ -507,7 +507,7 @@ func ProtoAuthToLogicalAuth(a *Auth) (*logical.Auth, error) {
}
data := map[string]interface{}{}
err := json.Unmarshal(a.InternalData, &data)
err := json.Unmarshal([]byte(a.InternalData), &data)
if err != nil {
return nil, err
}