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

Adds KV PATCH support via 'update' methods. #264

Closed
wants to merge 1 commit into from

Conversation

phallstrom
Copy link

@phallstrom phallstrom commented Dec 23, 2021

This adds an update method to KV to allow for patching paths as described here:
https://www.vaultproject.io/api-docs/secret/kv/kv-v2#patch-secret

It also adds an update method to Logical to allow for patching paths as well. I did this for parity, but I'm not entirely sold on it as versioning requires the path start with data which the KV class does automatically, but Logical does not. I could easily be talked into removing that from this PR.

@hashicorp-cla
Copy link

hashicorp-cla commented Dec 23, 2021

CLA assistant check
All committers have signed the CLA.

- Add KV#update for patch support
- Add Logical#update for patch support
- Limit #update specs to vault >= 1.9.0
- Add vault 1.9.2 and ruby 2.7.4 to test matrix
- Update spec to match on custom_metadata for vault >= 1.9.0
@jdoss
Copy link

jdoss commented Dec 24, 2021

LGTM. Great job Phillip!

@kalw
Copy link

kalw commented Sep 20, 2022

Anything that we can do to help this one moving forward ?

@phallstrom
Copy link
Author

No one seems to care... I'm closing this just to stop from seeing it on my Github pages.

@phallstrom phallstrom closed this Jan 18, 2024
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.

4 participants