Is there a simple method to verify a RabbitMQ user password from command line? By simple I mean:
without rabbitmq_management plugin enabled
without extra dependencies, like ruby/python/etc. libraries not usually present on a Linux machine by default.
sudo rabbitmqctl authenticate_user <username> <password>
If the password is appropriate it shows:
If the password is wrong it shows the below:
rabbitmqadmin
can be used if the user has themanagement
tag (which can be added temporarily)You can attempt to login with the username/password using rabbitmqadmin, although this is not included by default when installing RabbitMQ.
IMHO the simplest thing to do is write a Python script that connects to RabbitMQ, but this requires either a) the Kombu library or equivalent, or b) writing your own minimalistic AMQP client.