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

AWS Static Secrets: Requeue credential for rotation if initial attempt fails #23673

Merged
merged 7 commits into from
Oct 17, 2023

Conversation

kpcraig
Copy link
Contributor

@kpcraig kpcraig commented Oct 16, 2023

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.

@kpcraig kpcraig requested a review from a team as a code owner October 16, 2023 16:23
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Oct 16, 2023
@github-actions
Copy link

Build Results:
All builds succeeded! ✅

@github-actions
Copy link

CI Results:
All Go tests succeeded! ✅

Copy link
Contributor

@vinay-gopalan vinay-gopalan left a 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

@fairclothjm
Copy link
Contributor

@kpcraig I believe this is marked as a bug in Jira. Should we should set a Milestone and add a Changelog entry?

@kpcraig kpcraig changed the title add logic to put the item back in the queue for later if a credential rotation fails AWS Static Secrets: Requeue credential for rotation if initial attempt fails Oct 16, 2023
@kpcraig kpcraig added this to the 1.15.1 milestone Oct 16, 2023
@kpcraig kpcraig modified the milestones: 1.15.1, 1.16.0-rc1 Oct 17, 2023
@kpcraig kpcraig merged commit 6aabb22 into main Oct 17, 2023
110 checks passed
@kpcraig kpcraig deleted the VAULT-21089/aws-static-roles-requeue-error branch October 17, 2023 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants