Skip to content

Add rotation and a few related helper functions #7

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

Merged
merged 3 commits into from
Sep 7, 2021
Merged

Conversation

jefferai
Copy link
Member

@jefferai jefferai commented Sep 2, 2021

This was pulled out of Vault's codebase, then enhanced to split
different parts of it into different functions. This also introduces the
option pattern. The rotation test validates creation and deletion
independently as well as the combination via the rotate function.

Coverage (when running with real AWS creds) is mostly green for all
added code, except for places where we are handling exceptional
conditions from AWS' API.

This was pulled out of Vault's codebase, then enhanced to split
different parts of it into different functions. This also introduces the
option pattern. The rotation test validates creation and deletion
independently as well as the combination via the rotate function.

Coverage (when running with real AWS creds) is mostly green for all
added code, except for places where we are handling exceptional
conditions from AWS' API.
vancluever
vancluever previously approved these changes Sep 2, 2021
vancluever
vancluever previously approved these changes Sep 2, 2021
calvn
calvn previously approved these changes Sep 2, 2021
Copy link

@calvn calvn left a comment

Choose a reason for hiding this comment

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

Few small comments, otherwise looks good!

@jefferai jefferai dismissed stale reviews from calvn and vancluever via 0c3d586 September 7, 2021 15:46
@jefferai jefferai merged commit 8b83eb3 into main Sep 7, 2021
@jefferai jefferai deleted the jeff-add-rotation branch September 7, 2021 15:46
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

Successfully merging this pull request may close these issues.

None yet

3 participants