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

(PE-37348) connect bulk signing behavior to endpoint #2803

Conversation

jonathannewman
Copy link
Contributor

See individual commit comments.

The http endpoint for bulk signing expects to have three possible outcomes
for a set of csrs:

* they can be signed
* they can be not-found
* they can fail when signing

This updates the result of the `sign-multiple-certificate-signing-requests!` function
to make the result have those three fields, instead of the two provided before.
Tests were updated to match the new expectations.
This connects the `/v1/sign` ca endpoint to the routine that does the work of signing the identified
csrs.

It adds a test to demonstrate the behaviors of the endpoint when presented with csrs in different states.
@jonathannewman jonathannewman requested a review from a team as a code owner December 21, 2023 23:51
Copy link
Contributor

@steveax steveax left a comment

Choose a reason for hiding this comment

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

👍

@steveax steveax merged commit 6708114 into puppetlabs:main Dec 22, 2023
11 checks passed
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.

2 participants