Replies: 2 comments 15 replies
-
So the idea is to extend |
Beta Was this translation helpful? Give feedback.
-
I think we may need to discuss the expected behavior more. The use case that we were considering with this functionality is that we want to give operators/admins a way to monitor the broker (with the management plugin in this discussion's scope, but also perhaps Prometheus as well in the future) using Thinking about this now, the proposed functionality as discussed above won't satisfy this need if basic auth isn't configured as a backend at all. What are the maintainers' thoughts on providing a way to monitor a broker via There appears to be at least 2 ways to implement this:
In other words, something like this
This is a larger change, but I prefer this approach more, and it may offer more flexibility for users as well. To prevent this from being a breaking change, It also avoids the boot failure scenario described in above comments as well. |
Beta Was this translation helpful? Give feedback.
-
RabbitMQ series
4.1.x
Operating system (distribution) used
Linux
How is RabbitMQ deployed?
Other
What would you like to suggest for a future version of RabbitMQ?
If users of a RabbitMQ broker want to use OAuth2 (for instance) and disable basic auth, an operator must also use OAuth2 to auth with the broker. However, there may be a desire to override the disabling of basic auth for loopback users, so operators do not have to depend on an external OAuth2 provider for monitoring purposes; all the meanwhile, their basic auth access to the loopback user is still secure from external connection attempts.
The proposal here is to add a configuration -- maybe something like
loopback_basic_auth_override = true | false
, such that when:then
my_monitoring_user
is able to auth into the broker's management plugin (namely, interested in the API here), only via localhost. The naming ofloopback_basic_auth_override
may be unclear and can be improved I think. And this should extend beyond just OAuth2, and can apply for the other auth backends (i.e. LDAP).Would love to hear the team's thoughts on this.
Beta Was this translation helpful? Give feedback.
All reactions