netmaker/docker/dynamic-security.json
2022-09-16 16:02:44 +05:30

69 lines
1.6 KiB
JSON
Executable file

{
"clients": [{
"username": "Netmaker-Admin",
"textName": "netmaker admin user",
"password": "T42rorlC/mAP+i19g/YqMlWShPpfo8F/nBz2ZQNRcjAnfczrgu4rIQam9z7T/87NBIHxqR1wMlCIvRN5JApHcw==",
"salt": "lHl24sEf+lJ/kFHk",
"iterations": 101,
"roles": [{
"rolename": "admin"
}]
},
{
"username": "netmaker-exporter",
"textName": "netmaker metrics exporter",
"password": "yl7HZglF4CvCxgjPLLIYc73LRtjEwp2/SAEQXeW5Ta1Dl4RoLN5/gjqiv8xmue+F9LfRk8KICkNbhSYuEfJ7ww==",
"salt": "veLl9eN02i+hKkyT",
"iterations": 101,
"roles": []
}],
"roles": [{
"rolename": "admin",
"acls": [{
"acltype": "publishClientSend",
"topic": "$CONTROL/dynamic-security/#",
"allow": true
}, {
"acltype": "publishClientReceive",
"topic": "$CONTROL/dynamic-security/#",
"allow": true
}, {
"acltype": "subscribePattern",
"topic": "$CONTROL/dynamic-security/#",
"allow": true
}, {
"acltype": "publishClientReceive",
"topic": "$SYS/#",
"allow": true
}, {
"acltype": "subscribePattern",
"topic": "$SYS/#",
"allow": true
}, {
"acltype": "publishClientReceive",
"topic": "#",
"allow": true
}, {
"acltype": "subscribePattern",
"topic": "#",
"allow": true
}, {
"acltype": "unsubscribePattern",
"topic": "#",
"allow": true
},
{
"acltype": "publishClientSend",
"topic": "#",
"allow": true
}
]
}],
"defaultACLAccess": {
"publishClientSend": true,
"publishClientReceive": true,
"subscribe": true,
"unsubscribe": true
}
}