From the course: Learning RabbitMQ

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Set up and use authentication

Set up and use authentication - RabbitMQ Tutorial

From the course: Learning RabbitMQ

Start my 1-month free trial

Set up and use authentication

- We need a way of being sure which applications connect to RabbitMQ. This is where authentication comes into play. It will also be the basis for determining what an application is allowed to do. First, an important distinction between authorization and authentication. Put simple, authentication is determining who someone is, while authorization is determining the action someone is allowed to perform. RabbitMQ allows two ways of authentication, username password combinations and X.509 certificates. We'll be focusing on the username password combinations. RabbitMQ has everything built-in to use usernames and passwords. But it is possible to use another backend for authentication, like an LDAP or HTTP server. We'll use the built-in authentication mechanisms for this video. By default, RabbitMQ creates a username guest with password guest. This user can only connect from local host. This is useful for quick testing or…

Contents