Skip to content

Issue with pika.connection.update_secret #1454

Closed Answered by lukebakken
rshandilya01 asked this question in Q&A
Discussion options

You must be logged in to vote

The update_secret method DOES NOT update the password for a user in RabbitMQ.

Please carefully read the docs to which I linked. Updating secrets is generally used in environments that use OAuth2 authentication.

If you are not using OAuth2, your "AWS Lambda rotator" process will have to update the password for the admin user (or whatever user you're using) by using either the rabbitmqctl command line, or by using the HTTP API.

To update a user's password, you would make a POST request to /api/users/USERNAME with the correct payload.

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@rshandilya01
Comment options

@lukebakken
Comment options

@rshandilya01
Comment options

@lukebakken
Comment options

Answer selected by rshandilya01
@rshandilya01
Comment options

@MarcialRosales
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants