mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-14 13:44:37 +08:00
60 lines
No EOL
1.3 KiB
JSON
Executable file
60 lines
No EOL
1.3 KiB
JSON
Executable file
{
|
|
"clients": [{
|
|
"username": "Netmaker-Admin",
|
|
"textName": "Dynsec admin user",
|
|
"password": "T42rorlC/mAP+i19g/YqMlWShPpfo8F/nBz2ZQNRcjAnfczrgu4rIQam9z7T/87NBIHxqR1wMlCIvRN5JApHcw==",
|
|
"salt": "lHl24sEf+lJ/kFHk",
|
|
"iterations": 101,
|
|
"roles": [{
|
|
"rolename": "admin"
|
|
}]
|
|
}],
|
|
"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
|
|
}
|
|
} |