Menu Search

12.3. Broker Users

Default configuration provides a preconfigured broker user, having read and write access to all broker objects:

  • admin (default password 'admin')

Username of the 'admin' user can be overridden be providing the variable QPID_ADMIN_USER on start, and the default password of the 'admin' user can be overridden be providing the variable QPID_ADMIN_PASSWORD on start:

                docker run -d -p 5672:5672 -p 8080:8080 -v qpid_volume:/qpid-broker-j/work -e QPID_ADMIN_USER=myuser -e QPID_ADMIN_PASSWORD=mypassword --name qpid <IMAGE_NAME>
            

Further broker users as well as other broker objects (queues, exchanges, keystores, truststore, ports etc.) can be created via HTTP management interface. Description of the broker REST API can be found in broker book (chapter 6.3).