mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-13 21:22:40 +08:00
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
|
{
|
||
|
"clients": [{
|
||
|
"username": "bob",
|
||
|
"textName": "Dynsec admin user",
|
||
|
"password": "JEfqgJum2mlJa51WTGdvEAs2Rnc8vno14yAsAhxbjo9nKs0GAgL0+YM2iOUaW/GFK8L/B0EkbP5qd1AeyBdRTg==",
|
||
|
"salt": "MgoCdNVGYMqJh+nU",
|
||
|
"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
|
||
|
}]
|
||
|
}],
|
||
|
"defaultACLAccess": {
|
||
|
"publishClientSend": false,
|
||
|
"publishClientReceive": true,
|
||
|
"subscribe": false,
|
||
|
"unsubscribe": true
|
||
|
}
|
||
|
}
|