proto: change username of UP cred to be sensitive (#5934)

* proto: change username of UP cred to be sensitive
This commit is contained in:
Irena Rindos authored and GitHub committed 2025-07-23 14:51:31 -04:00
1 parent c186f8e819
commit 7c97bad96f
4 files changed
+4 -4

No files matched your search

@@ -1285,7 +1285,7 @@ func (*Credential_JsonAttributes) isCredential_Attrs() {}
type UsernamePasswordCredentialAttributes struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The username associated with the credential.
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty" class:"public"` // @gotags: class:"public"
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty" class:"sensitive"` // @gotags: class:"sensitive"
// The hmac value of the password.
PasswordHmac string `protobuf:"bytes,2,opt,name=password_hmac,json=passwordHmac,proto3" json:"password_hmac,omitempty" class:"public"` // @gotags: class:"public"
unknownFields protoimpl.UnknownFields