Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Commit 9b4d414

Browse files
committed
adding the logging mask
1 parent 4424c44 commit 9b4d414

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

constants/secret.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,7 @@ const (
1717

1818
// SecretMask defines the secret mask to be used in place of secret values returned to users.
1919
SecretMask = "[secure]"
20+
21+
// SecretLogMask defines the secret mask to be used when distributing logs that contain secrets.
22+
SecretLogMask = "***"
2023
)

0 commit comments

Comments
 (0)