netmaker/docker/dynamic-security.json

69 lines
1.6 KiB
JSON
Raw Normal View History

2022-09-14 02:03:17 +08:00
{
"clients": [{
"username": "Netmaker-Admin",
2022-09-16 18:32:44 +08:00
"textName": "netmaker admin user",
"password": "T42rorlC/mAP+i19g/YqMlWShPpfo8F/nBz2ZQNRcjAnfczrgu4rIQam9z7T/87NBIHxqR1wMlCIvRN5JApHcw==",
"salt": "lHl24sEf+lJ/kFHk",
2022-09-14 02:03:17 +08:00
"iterations": 101,
"roles": [{
"rolename": "admin"
}]
2022-09-16 18:32:44 +08:00
},
{
"username": "netmaker-exporter",
"textName": "netmaker metrics exporter",
"password": "yl7HZglF4CvCxgjPLLIYc73LRtjEwp2/SAEQXeW5Ta1Dl4RoLN5/gjqiv8xmue+F9LfRk8KICkNbhSYuEfJ7ww==",
"salt": "veLl9eN02i+hKkyT",
"iterations": 101,
"roles": []
2022-09-14 02:03:17 +08:00
}],
"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
}
]
2022-09-14 02:03:17 +08:00
}],
"defaultACLAccess": {
"publishClientSend": true,
2022-09-14 02:03:17 +08:00
"publishClientReceive": true,
"subscribe": true,
2022-09-14 02:03:17 +08:00
"unsubscribe": true
}
2022-09-16 14:48:25 +08:00
}