-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for custom metadata in kv2 engine (#805)
* Add support for custom metadata in kv2 engine Vault 1.9 added support to custom metadata, "a map of arbitrary string to string valued user-provided metadata meant to describe the secret.". This is already supported by the read_secret_metadata method as part of the Vault server response. This change adds support to update it, as a new parameter `custom_metadata` for the update_metadata method. Reference: https://www.vaultproject.io/api-docs/secret/kv/kv-v2 Fixes #804 * update docs example * only run against supported Vault versions * reorder param, add Vault version detail. --------- Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters