[rabbitmq-discuss] How to specify user/pass

Matthias Radestock matthias at rabbitmq.com
Tue Jul 3 08:49:15 BST 2012


On 03/07/12 08:19, Tim Watson wrote:
> No that doesn't look right to me. First of all, I would expect the
> rabbitmq_auth_backend_http config element to reside inside of the 'env'
> list - please bare in mind I've never used this plugin before so I could
> be mistaken, but AFAIK you cannot set this at the top level. So it would be
>
> {env, [
> {rabbitmq_auth_backend_http, .....
> ]}

Er, no. The plugin gets configured like any other plug-in: by placing an 
appropriate entry into the rabbitmq.config file (*not* .app). See 
http://www.rabbitmq.com/configure.html#configuration-file

> Also, you appear to still be missing the {rabbit, [{auth_backends,
> [rabbit_auth_backend_http]}]} entry that the example in the README file
> instructs you to add. This should also go inside the env AFAICT.

Ditto.

Matthias.


More information about the rabbitmq-discuss mailing list