File-Base User Authorization
You can define permissions for users in a JSON file:
security:
authorization:
source: FILE # valid values: FILE, CONFIG
file-source:
path: /path/to/tbwg.users.json
tbwg.users.json
example:
{
"users" : [ {
"username" : "username",
"password" : "user password",
"authorities" : [ "TB_ALLOW_READ", "TB_ALLOW_WRITE", "GRAFANA" ]
}, {
"username" : "username",
"password" : "user password",
"authorities" : [ "TB_ALLOW_READ", "TB_ALLOW_WRITE", "GRAFANA" ]
} ]
}