-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
AWS Static Secrets: Requeue credential for rotation if initial attempt fails #23673
Conversation
Build Results: |
CI Results: |
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.
Agree with JM around using DB engine precedent of 10seconds while updating the backoff priority, but LGTM otherwise
@kpcraig I believe this is marked as a bug in Jira. Should we should set a Milestone and add a Changelog entry? |
This timeout matches what we do in other rotation implementations
only one case, but it is the one represented by the bug
This PR fixes and tidies up the rotation code in the aws static roles implementation, ensuring that the mechanism correctly continues to check for rotate-ready credentials, and correctly retries credential rotation (after a period) if rotation fails at the AWS API step.