From the course: Learning RabbitMQ: Efficient Message Queuing

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Set up and use authentication

Set up and use authentication

- [Instructor] We need a way of being sure which applications connect to RabbitMQ. This is where authentication comes into play. First, an important distinction between authorization and authentication. Simply put, authentication is determining who someone is while authorization is determining the actions someone is allowed to perform. RabbitMQ offers two options for authentication, username/password combinations and x509 certificates. We'll be focusing on the username/password combination. RabbitMQ has everything built into use usernames and passwords, but it is possible to use another backend for authentication with plugins, like an LDAP, HTTP, or OAuth 2 server. We'll use the built-in authentication mechanisms for this video, but it's good to know that there are more secure and enterprise-ready options available. By default, RabbitMQ creates a username guest with password guest. This user can only connect from local…

Contents