Skip to content
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

Support connection.update-secret #107

Closed
MatthiasWerning opened this issue Jul 27, 2022 · 1 comment · Fixed by #114
Closed

Support connection.update-secret #107

MatthiasWerning opened this issue Jul 27, 2022 · 1 comment · Fixed by #114
Assignees
Milestone

Comments

@MatthiasWerning
Copy link

The AMQP 0-9-1 reference guide at https://www.rabbitmq.com/amqp-0-9-1-reference.html#connection.update-secret describes a method to update a secret / password on existing connections without having to disconnect and reconnect again. This makes things a lot easier if authentication is done using the rabbitmq_auth_backend_oauth2 which comes with JWT tokens that have a certain lifespan. If such a token expires and it is not updated, this results in a unusable connection. Updating the token results in a usable connection again without having to deal with the hassle of reconnecting and thus having to resubscribe consumers.

Would be very nice if this could be supported in future versions as we heavily depend on this feature for authentication and authorization means in our backend.

@lukebakken lukebakken added this to the 1.5.0 milestone Aug 22, 2022
@Zerpet Zerpet self-assigned this Aug 23, 2022
@Zerpet Zerpet linked a pull request Sep 1, 2022 that will close this issue
@lukebakken
Copy link
Contributor

@MatthiasWerning I just tagged version 1.5.0 which has support for connection.update-secret

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants