[rabbitmq-discuss] Permissions for aliveness-test user
Jean Paul Galea
ninuhadida at gmail.com
Mon Nov 26 10:06:13 GMT 2012
Hi Matthias,
Yes I am certain that this works:
>> rabbitmqctl set_permissions -p / monitoring '^aliveness-test|$'
>> '^aliveness-test|$' '^aliveness-test|$'
I created a user and assigned permissions as you described, but
authentication failed:
rabbitmqctl add_user test test
rabbitmqctl set_permissions -p / test '^aliveness-test$'
'^amq\.default$' '^aliveness-test$'
rabbitmqctl stop
rabbitmq-server -detached
wget --header="Authorization: Basic dGVzdDp0ZXN0" --server-response -q
-O - -- 'http://127.0.0.1:15672/api/aliveness-test/%2F'
HTTP/1.0 401 Unauthorized
Server: MochiWeb/1.1 WebMachine/1.9.0 (someone had painted it blue)
Date: Mon, 26 Nov 2012 09:58:31 GMT
Content-Length: 51
Any ideas?
Thanks
More information about the rabbitmq-discuss
mailing list