-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
add jitter to AssumeRoleProvider #2551
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking the time to create this change. The change looks good and we'll merge it in and have it included in our next release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found a small issue in the CI tests that will fix the unit test failing.
There are two linker failures. |
I think the linker failures are due to, golang/go#31293 |
Update the documentation for MaxJitterFrac to emphasize the value must be between 0 and 1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks for making this update. I tweeked the wording a little bit on MaxJitterFrac to highlyt the requirement that the value be between 0 and 1.
Ah, thanks for catching that omission. Yeah, hopefully this way of representing the jitter amount will cause folks less headaches when they change the |
This adds jitter to the
AssumeRoleProvider
which backsstscreds.NewCredentials
. This helps to support large deployments.