mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 02:02:12 +08:00
Licensing: Redact license when overriden by env variable (#81726)
This commit is contained in:
@ -830,6 +830,12 @@ func TestRedactedValue(t *testing.T) {
|
||||
value: "/path/to/key",
|
||||
expected: RedactedPassword,
|
||||
},
|
||||
{
|
||||
desc: "license key with non-empty value",
|
||||
key: "GF_ENTERPRISE_LICENSE_TEXT",
|
||||
value: "some_license_key_test",
|
||||
expected: RedactedPassword,
|
||||
},
|
||||
{
|
||||
desc: "sensitive key with empty value",
|
||||
key: "private_key_path",
|
||||
|
Reference in New Issue
Block a user