amperity / vault-clj

Clojure client for Hashicorp's Vault secret management system.
Other
70 stars 17 forks source link

Get secret with default value or ask if secret exists #7

Closed aengelberg closed 7 years ago

aengelberg commented 7 years ago

I would like an implementation-agnostic method that I can call to understand whether a secret does or does not exist. Currently I have to call read-secret and check for an exception thrown, which looks different for an HTTP or mock client.