fix: mark license key sensitive
so it's not logged to console when environment variable is used
This commit is contained in:
parent
ae9c8098ba
commit
4cee12614b
|
@ -19,9 +19,13 @@ roots() -> [{license, hoconsc:union(
|
|||
hoconsc:ref(?MODULE, file_license)])}].
|
||||
|
||||
fields(key_license) ->
|
||||
[ {key, string()}
|
||||
[ {key, #{type => string(),
|
||||
sensitive => true, %% so it's not logged
|
||||
desc => "Configure the license as a string"
|
||||
}}
|
||||
];
|
||||
|
||||
fields(file_license) ->
|
||||
[ {file, string()}
|
||||
[ {file, #{type => string(),
|
||||
desc => "Path to the license file"
|
||||
}}
|
||||
].
|
||||
|
|
Loading…
Reference in New Issue