How to get the password for RabbitMQ management UI via the CLI
book
Article ID: 293162
calendar_today
Updated On:
Products
VMware RabbitMQ
Issue/Introduction
In a scenario where it is not possible to view the credentials to access the management UI of RabbitMQ, it is possible to retrieve those credentials through the CLI by accessing the rabbitmq-server instance.
Resolution
1. Run bosh vms to locate the RabbitMQ deployment and it's VMs. 2. SSH into one of the RabbitMQ server instances bosh -d <RABBITMQ-DEPLOYMENT> ssh rabbitmq-server/0 3. Navigate to the following directory /var/vcap/jobs/rabbitmq-server/etc 4. Inside that directory there is a file called users which contains the credentials stored as RMQ_OPERATOR_USERNAME and RMQ_OPERATOR_PASSWORD.