Configure RabbitMQ#
Add service accounts#
To configure the message broker for an application:
Add a user for the application, in a private Pillar file, replacing
PASSWORD
with a strong password (uncheck Symbols) andUSERNAME
with a recognizable username:rabbitmq: users: USERNAME: password: "PASSWORD"
To give the user access to the management interface, add:
rabbitmq: users: USERNAME: password: "PASSWORD" tags: - management
To give the user access to memory use, add:
rabbitmq: users: USERNAME: password: "PASSWORD" tags: - management - monitoring
Add the private Pillar file to the top file entry for the application.
Note
The default user named guest
is deleted by default. To retain the user, update the server’s Pillar file:
rabbitmq:
guest_enabled: True