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

Enhancement: MySQL backend - allow lease information to be tied to a role #2678

Closed
rjbez17 opened this issue May 4, 2017 · 5 comments
Closed

Comments

@rjbez17
Copy link

rjbez17 commented May 4, 2017

Currently leases are defined globally to the connection. Its be very helpful to set the lease information based on roles (or even at time of requesting credentials). We have a use case to allow some roles to have extended leases. We currently temporarily change the lease, generate the credentials, then change it back. This is an obvious race condition.

@briankassouf
Copy link
Contributor

Hi @rjbez17,

In the next release #2200 will ship, and it has this feature!

@rjbez17
Copy link
Author

rjbez17 commented May 4, 2017

Great, before I create another one, will the new version also allow for multiple connection to mysql (different database servers)?

@briankassouf
Copy link
Contributor

Yes! The same mounted backend can configure multiple connections, even of different database types (mysql, postgres, etc.)

@rjbez17
Copy link
Author

rjbez17 commented May 4, 2017

Awesome! You saved me soooo much work!

@jefferai
Copy link
Member

jefferai commented May 4, 2017

Closing in favor of #2200 which will land...................................................very soon. And 0.7.1 which will land................................................almost as soon.

@jefferai jefferai closed this as completed May 4, 2017
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

No branches or pull requests

3 participants