zrlw commented on code in PR #15699:
URL: https://github.com/apache/dubbo/pull/15699#discussion_r2366470707


##########
dubbo-common/src/main/java/org/apache/dubbo/config/RegistryConfig.java:
##########
@@ -576,4 +623,44 @@ public boolean isValid() {
     public Boolean isDefault() {
         return isDefault;
     }
+
+    /**
+     * Get safe credential information for logging/debugging purposes.
+     * Sensitive parameters like accessKey and secretKey are masked.
+     *
+     * @return safe string representation without exposing sensitive data
+     */
+    public String getSafeCredentialInfo() {

Review Comment:
   it should be moved to test if it is only called by test cases.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to