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

Respond with data to all writes in PKI engine #18222

Merged
merged 3 commits into from
Dec 5, 2022

Conversation

cipherboy
Copy link
Contributor

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


As identified in #18199, several /config endpoints behave differently than their non-config endpoints. This can be confusing as they won't clear their data; you must manually submit defaults if that's preferable.

Respond to all writes with the written data, rather than with nil responses. This lets operators see if their intended changes align with what actually occurred, without having to issue a new read.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
@cipherboy cipherboy added this to the 1.13.0-rc1 milestone Dec 2, 2022
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
@cipherboy cipherboy marked this pull request as ready for review December 2, 2022 20:34
@stevendpclark
Copy link
Contributor

stevendpclark commented Dec 5, 2022

Looks good, could we also update pathWriteURL as part of this PR?

@cipherboy
Copy link
Contributor Author

@stevendpclark We could, but that'd conflict with #18199, which does that already. :-)

@cipherboy
Copy link
Contributor Author

Thanks! Merging...

@cipherboy cipherboy enabled auto-merge (squash) December 5, 2022 14:40
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
@cipherboy cipherboy merged commit 601e27d into main Dec 5, 2022
AnPucel pushed a commit that referenced this pull request Jan 14, 2023
* Respond with data to all writes in PKI engine

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

* Add changelog

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

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
jayant07-yb pushed a commit to jayant07-yb/hashicorp-vault-integrations that referenced this pull request Mar 15, 2023
* Respond with data to all writes in PKI engine

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

* Add changelog

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

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
@cipherboy cipherboy deleted the cipherboy-all-respond-writes branch April 21, 2023 13:04
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

2 participants