hashicorp / vault

A tool for secrets management, encryption as a service, and privileged access management
https://www.vaultproject.io/
Other
31.07k stars 4.2k forks source link

Static Roles for RabbitMQ Secret Engine #13456

Open OOTS opened 2 years ago

OOTS commented 2 years ago

Is your feature request related to a problem? Please describe. We'd like to use static roles (like the ones in the database secret engine) in the RabbitMQ secret engine, but Vault's API doesn't support it.

Describe the solution you'd like Add API endpoints to create, read, update, delete and list static roles to the RabbitMQ secret engine, akin to the ones in the database secret engine. Creating a static role would instruct Vault to regularly update the password of one or more RabbitMQ accounts with a configurable frequency.

Describe alternatives you've considered

Additional context References:

Thanks for your time!

dops-at commented 1 year ago

+1

f4z3r commented 1 year ago

This is also something that I am very interested in for my work. I will see that I have a working draft of this with the rotation implemented by the beginning of next week. The groundwork is already done for creating, updating, and deleting the roles, I just need to add some testing, actually implement the credential rotation and it should be good. Hopefully I can find some time until end of this week to complete this.

f4z3r commented 1 year ago

Note that this will not include the RMQ credentials having an independent lease from the creating token.