/
rabbitmq-definitions.json
49 lines (49 loc) · 1.04 KB
/
rabbitmq-definitions.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"global_parameters": [
{"name": "cluster_name", "value": "rabbitmq-hotel"}
],
"permissions": [
{
"configure": ".*",
"read": ".*",
"user": "guest",
"vhost": "/",
"write": ".*"
}
],
"policies": [
{
"apply-to": "queues",
"definition": {"ha-mode": "exactly", "ha-params": 1},
"name": "ha1",
"pattern": "ha1.*",
"priority": 0,
"vhost": "/"
},
{
"apply-to": "queues",
"definition": {"ha-mode": "exactly", "ha-params": 2},
"name": "ha2",
"pattern": "ha2.*",
"priority": 0,
"vhost": "/"
},
{
"apply-to": "queues",
"definition": {"ha-mode": "exactly", "ha-params": 3},
"name": "ha3",
"pattern": "ha3.*",
"priority": 0,
"vhost": "/"
}
],
"users": [
{
"hashing_algorithm": "rabbit_password_hashing_sha256",
"name": "guest",
"password_hash": "hENva+fxJ7gnmaBK/WhwNHOYbvB53/QjNcqhtF4KqF7p21+x",
"tags": "administrator"
}
],
"vhosts": [{"name": "/"}]
}