Admin: Obfuscate azure_blob Account Key (#38061)
Obfuscate azure_blob Account Key #37970
(cherry picked from commit 2fe62af685)
Co-authored-by: billabongrob <billabongrob@gmail.com>
This commit is contained in:
co-authored by
billabongrob
parent
3aa311f869
commit
a7db2a20dc
@@ -471,6 +471,7 @@ func RedactedValue(key, value string) string {
|
||||
"PRIVATE_KEY",
|
||||
"SECRET_KEY",
|
||||
"CERTIFICATE",
|
||||
"ACCOUNT_KEY",
|
||||
} {
|
||||
if strings.Contains(uppercased, pattern) {
|
||||
return RedactedPassword
|
||||
|
||||
Reference in New Issue
Block a user