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 reading issuer's enable_aia_url_templating value #20354

Merged
merged 4 commits into from
Apr 25, 2023

Conversation

cipherboy
Copy link
Contributor

This value was incorrectly left off the issuer's configuration on the read endpoint, when the AIA config was set. Note that modifying/patching per-issuer-AIA templating when no per-issuer AIA urls exist does nothing.

This is the follow up to #20341 with comprehensive PATCH tests for each value.

@cipherboy cipherboy added bug Used to indicate a potential bug secret/pki backport/1.13.x labels Apr 25, 2023
@cipherboy cipherboy added this to the 1.14 milestone Apr 25, 2023
@cipherboy cipherboy requested review from kitography, stevendpclark and a team April 25, 2023 18:56
This field was elided from read issuer responses, though the value
otherwise persisted correctly.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
@cipherboy cipherboy force-pushed the cipherboy-fix-read-issuer-aia-url branch from 44a6862 to de21af1 Compare April 25, 2023 19:54
@cipherboy cipherboy merged commit 5aea0e7 into main Apr 25, 2023
cipherboy added a commit that referenced this pull request Apr 26, 2023
* Add enable_aia_url_templating to read issuer

This field was elided from read issuer responses, though the value
otherwise persisted correctly.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add comprehensive test for patching issuers

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add changelog entry

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

---------

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
cipherboy added a commit that referenced this pull request Apr 26, 2023
* Add enable_aia_url_templating to read issuer

This field was elided from read issuer responses, though the value
otherwise persisted correctly.



* Add comprehensive test for patching issuers



* Add changelog entry



---------

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Co-authored-by: Alexander Scheel <alex.scheel@hashicorp.com>
@cipherboy cipherboy deleted the cipherboy-fix-read-issuer-aia-url branch May 26, 2023 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Used to indicate a potential bug secret/pki
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants