You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by co...@apache.org on 2020/03/17 03:15:30 UTC

[dubbo] 01/01: Revert "fix the key name to hide the accessKeyId and secretAccessKey (#5878)"

This is an automated email from the ASF dual-hosted git repository.

codingsinger pushed a commit to branch revert-5878-FIX_AUTH_KEY
in repository https://gitbox.apache.org/repos/asf/dubbo.git

commit c7de420a72a7db823da8c418760abb1908fff8eb
Author: zechao zheng <15...@163.com>
AuthorDate: Tue Mar 17 11:15:22 2020 +0800

    Revert "fix the key name to hide the accessKeyId and secretAccessKey (#5878)"
    
    This reverts commit d55f062fe77ea0f6a4c913d2418113297ff8403d.
---
 .../dubbo-auth/src/main/java/org/apache/dubbo/auth/Constants.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dubbo-plugin/dubbo-auth/src/main/java/org/apache/dubbo/auth/Constants.java b/dubbo-plugin/dubbo-auth/src/main/java/org/apache/dubbo/auth/Constants.java
index 307cd18..a74f7ec 100644
--- a/dubbo-plugin/dubbo-auth/src/main/java/org/apache/dubbo/auth/Constants.java
+++ b/dubbo-plugin/dubbo-auth/src/main/java/org/apache/dubbo/auth/Constants.java
@@ -28,10 +28,10 @@ public interface Constants {
     String DEFAULT_ACCESS_KEY_STORAGE = "urlstorage";
 
     String ACCESS_KEY_STORAGE_KEY = "accessKey.storage";
-    // the key starting  with "." shouldn't be output
-    String ACCESS_KEY_ID_KEY = ".accessKeyId";
-    // the key starting  with "." shouldn't be output
-    String SECRET_ACCESS_KEY_KEY = ".secretAccessKey";
+
+    String ACCESS_KEY_ID_KEY = "accessKeyId";
+
+    String SECRET_ACCESS_KEY_KEY = "secretAccessKey";
 
     String REQUEST_TIMESTAMP_KEY = "timestamp";