I am trying to figure out how to create some more granular authentication/authorization in rabbitmq.config. I think the language it uses is referred to as Erlang (is that right?).
I tried the following in an attempt to use the conditionals, but it failed:
{vhost_access_query,
{in_group,
{'or', [
"CN=${vhost}-users,ou=vhosts,ou=MIS,ou=ISD,ou=US,ou=Servers,dc=domain,dc=com",
"CN=${vhost}-admins,ou=vhosts,ou=MIS,ou=ISD,ou=US,ou=Servers,dc=domain,dc=com",
"CN=${vhost}-consumers,ou=vhosts,ou=MIS,ou=ISD,ou=US,ou=Servers,dc=domain,dc=com",
"CN=${vhost}-producers,ou=vhosts,ou=MIS,ou=ISD,ou=US,ou=Servers,dc=domain,dc=com"
]}
}},
Anyway, it does not like it. What I was trying to do was say vhost access is allowed for any of the four groups-in that, group1, or group2, or group3, etc.