voxpupuli / puppet-vault_lookup

Apache License 2.0
26 stars 42 forks source link

fix: following same logic of returning secret body when not specifying a vault key #71

Closed MadJlzz closed 7 months ago

MadJlzz commented 1 year ago

Pull Request (PR) description

This PR harmonize get_secret return value by only giving the user the data part instead of all the metadata when specifying no key. This behavior is already implemented when we want to extract a specific key of the secret.

This Pull Request (PR) fixes the following issues

n.a

MadJlzz commented 1 year ago

Hello there @natemccurdy 👋🏼 Hopefully this PR makes sense. I can try to take a look at the tests but I am no Ruby developer. I would need a bit of help to fix them.