Files
threshold/internal/proto/controller/servers/services/v1/credential.proto
T
Johan Brandhorst-Satzkorn f69fbf2255 feat(proto): Format protobuf files with buf (#2033)
Formats all protobuf files with buf format. This ensures
a consistent style across all our protobuf files, similar
to gofumpt.
2022-05-04 11:10:21 -04:00

21 lines
524 B
Protocol Buffer

syntax = "proto3";
package controller.servers.services.v1;
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/servers/services;services";
message Credential {
oneof credential {
UserPassword user_password = 1;
}
}
// UserPassword is a credential containing a username and a password.
message UserPassword {
// The username of the credential
string username = 10; // @gotags: `class:"public"`
// The password of the credential
string password = 20; // @gotags: `class:"secret"`
}