open-vault/vault/external_tests/api
VAL ed7c1d4800
Add Patch KV helper (#15587)
* Add Read methods for KVClient

* KV write helper

* Add changelog

* Add Delete method

* Use extractVersionMetadata inside extractDataAndVersionMetadata

* Return nil, nil for v1 writes

* Add test for extracting version metadata

* Split kv client into v1 and v2-specific clients

* Add ability to set options on Put

* Add test for KV helpers

* Add custom metadata to top level and allow for getting versions as sorted slice

* Update tests

* Separate KV v1 and v2 into different files

* Add test for GetVersionsAsList, rename Metadata key to VersionMetadata for clarity

* Move structs and godoc comments to more appropriate files

* Add more tests for extract methods

* Rework custom metadata helper to be more consistent with other helpers

* Remove KVSecret from custom metadata test now that we don't append to it as part of helper method

* Add Patch KV helper

* Add godoc comment and use WithOption ourselves in other KVOption functions

* Clean up options-handling and resp parsing logic; add more tests

* Add constants and more patch tests
2022-06-01 07:50:56 -07:00
..
api_integration_test.go Update deps for consul-template 0.29.0 (#15293) 2022-05-05 10:30:40 -07:00
feature_flag_ext_test.go
kv_helpers_test.go Add Patch KV helper (#15587) 2022-06-01 07:50:56 -07:00
renewer_integration_test.go Revert the WithContext changes to vault tests (#14947) 2022-04-07 15:12:58 -04:00
secret_test.go Revert the WithContext changes to vault tests (#14947) 2022-04-07 15:12:58 -04:00
sudo_paths_test.go Add enterprise sudo paths to api.SudoPaths map (#15219) 2022-04-29 10:09:25 -04:00
sys_rekey_ext_test.go