-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating a passwordless user #865
Comments
This idea sounds good to me. The best solution would be to support password hash in the User spec (see #866), or in the |
The
|
Hi, It would be a high-value improvement for us. We use EXTERNAL authentication mechanism to authenticate external clients with mTLS only. They're supposed to be passwordless but they're currently created with a generated password. We obviously don't share the generated passwords, but still, we're not happy with it. Thanks @NikSays for the issue and the PR, we hope it could be merged soon ! |
Is your feature request related to a problem? Please describe.
RabbitMQ allows creating passwordless users. However when an User resource is added via this operator, the password is required. If the password is not provided, it is automatically generated.
Describe the solution you'd like
I see two possible solutions:
password
key, generate the password; but if the secret haspassword: ""
, disable password auth. (Not backwards compatible)noPassword: bool
flag to UserSpec.Describe alternatives you've considered
With the right configuration, password auth via AMQP can be disabled for all users, but not individually.
Additional context
Management API endpoint
/api/users/*name*
creates a paswordless user ifpassword_hash: ""
.I can implement the
noPassword: bool
solution and open a PR, just want to be sure that this isn't already possible, and that the maintainers are okay with this solution.The text was updated successfully, but these errors were encountered: