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

Fix auth/aws so that config/rotate-root saves new key pair to vault #12715

Merged
merged 4 commits into from Oct 19, 2021

Conversation

ludewigh
Copy link
Contributor

@ludewigh ludewigh commented Oct 4, 2021

This PR fixes an issue where when calling the endpoint config/rotate-root on auth/aws it would successfully rotate the keys in AWS but not save the updated keys back into vault. After being called once you could no longer authenticate AWS services since the new key was unknown to Vault. The issue was originally reported in #12214

@ludewigh ludewigh requested a review from a team October 4, 2021 14:47
@hashicorp-cla
Copy link

hashicorp-cla commented Oct 4, 2021

CLA assistant check
All committers have signed the CLA.

@vercel vercel bot temporarily deployed to Preview – vault-storybook October 4, 2021 14:47 Inactive
@vercel vercel bot temporarily deployed to Preview – vault October 4, 2021 14:47 Inactive
@kalafut
Copy link
Contributor

kalafut commented Oct 4, 2021

@ludewigh Can you please sign the CLA? (Note that the email in the commits needs to match an email on your github account)

@vercel vercel bot temporarily deployed to Preview – vault-storybook October 4, 2021 15:59 Inactive
@vercel vercel bot temporarily deployed to Preview – vault October 4, 2021 15:59 Inactive
@ludewigh
Copy link
Contributor Author

ludewigh commented Oct 4, 2021

@kalafut I was hoping since my Org already had a signed CLA we would be fine, but since I need to sign as well it will most likely take another day or so to get approval. I've started our internal process and will sign as soon as I have been approved.

@hsimon-hashicorp
Copy link
Contributor

@ludewigh if your organization has signed a CLA, and your GitHub account is associated with that organization and it's publicly viewable that you're associated, the CLA bot should do the right thing. Please let us know if there's any hiccups. Thanks!

@ludewigh
Copy link
Contributor Author

ludewigh commented Oct 4, 2021

@hsimon-hashicorp I think the publicly viewable part was the issue, I've updated it from private to public so hopefully when it runs next that fixes it.

@ludewigh
Copy link
Contributor Author

ludewigh commented Oct 5, 2021

@hsimon-hashicorp @kalafut I don't think I ever got the corporate one to work, but I've been authorized to sign the CLA and I believe I have done so. If there is still something missing from my side please let me know.

@kalafut
Copy link
Contributor

kalafut commented Oct 6, 2021

@ludewigh CLA looks good now. Thanks!

Copy link
Contributor

@jasonodonnell jasonodonnell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me and tested well! Thank you for the fix!

@jasonodonnell jasonodonnell merged commit 81c5b97 into hashicorp:main Oct 19, 2021
jasonodonnell pushed a commit that referenced this pull request Oct 19, 2021
…12715)

* test:  add test to verify Vault storage is updated

* bug: fix config/rotate-root to store new key

* choir: fix changelog name to match PR
jasonodonnell pushed a commit that referenced this pull request Oct 19, 2021
…12715)

* test:  add test to verify Vault storage is updated

* bug: fix config/rotate-root to store new key

* choir: fix changelog name to match PR
jasonodonnell added a commit that referenced this pull request Oct 19, 2021
… pair (#12866)

* Fix auth/aws so that config/rotate-root saves new key pair to vault (#12715)

* test:  add test to verify Vault storage is updated

* bug: fix config/rotate-root to store new key

* choir: fix changelog name to match PR

* go get & go mod tidy

Co-authored-by: ludewigh <ludewigh@gmail.com>
jasonodonnell added a commit that referenced this pull request Oct 20, 2021
… pair (#12867)

* Fix auth/aws so that config/rotate-root saves new key pair to vault (#12715)

* test:  add test to verify Vault storage is updated

* bug: fix config/rotate-root to store new key

* choir: fix changelog name to match PR

* go get & go mod tidy

* go mod vendor

Co-authored-by: ludewigh <ludewigh@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants