mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Admin: Obfuscate azure_blob Account Key
Obfuscate azure_blob Account Key #37970
This commit is contained in:
@@ -474,6 +474,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