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

A way to configure a timeout in Database Engine Roles #21558

Open
LCaparelli opened this issue Jul 4, 2023 · 1 comment
Open

A way to configure a timeout in Database Engine Roles #21558

LCaparelli opened this issue Jul 4, 2023 · 1 comment

Comments

@LCaparelli
Copy link

Is your feature request related to a problem? Please describe.

We have a particular database for which dynamic credentials revocation consistently fails, due to timeout. It's not a network issue, it really just takes a while. I'm able to login to the database from the same network as Vault and run the same queries configured as revocation statement and they work fine, albeit slowly.

Describe the solution you'd like

A way to configure a timeout in Database Engine Roles, so that Vault does not give up before things have enough time to succeed.

Describe alternatives you've considered

I haven't been able to come up other alternatives that don't require deep architectural changes for product development teams that use our platform. I would rather if we could at least alleviate the issue on our end without being too intrusive. A timeout seems simple enough.

Explain any additional use-cases

The failure to revoke leads to leases living on forever, and Vault continues to periodically attempt to revoke them, causing a higher resource consumption and sometimes leading to saturation if we don't manually remove the leases (and roles from the Database).

Additional context
This is an AWS RDS, which notably require custom-made revocation statements because the root user isn't really root/superuser. Its privileges are capped and we don't have access to the actual superuser, only AWS does.

@limistah
Copy link
Contributor

limistah commented Sep 4, 2023

Is anyone working on this ticket?

I would love to look into this.

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

No branches or pull requests

3 participants