Skip to content

Commit 91528c5

Browse files
tbadalovspencergibb
authored andcommitted
Mask ACL token with "******"
Signed-off-by: Turkhan Badalov <[email protected]>
1 parent 115ffdd commit 91528c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-cloud-consul-config/src/main/java/org/springframework/cloud/consul/config/ConsulConfigProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public String toString() {
197197
.append("profileSeparator", this.profileSeparator)
198198
.append("format", this.format)
199199
.append("dataKey", this.dataKey)
200-
.append("aclToken", this.aclToken)
200+
.append("aclToken", this.aclToken != null ? "******" : null)
201201
.append("watch", this.watch)
202202
.append("failFast", this.failFast)
203203
.append("name", this.name)

0 commit comments

Comments
 (0)