de.otto/tesla-vault

Read vault secrets in your edn config


License
Apache-2.0

Documentation

tesla-vault

A Clojure library designed to enhance your edn config with secrets stored in vault.

Clojars Project

Build Status Dependencies Status

Usage

{
 :some-db-credentials  #ts/vault ["/path/to/db/password"]
 :just-the-db-password #ts/vault ["/path/to/db/password" :password] 
}

For this to work two environment variables need to be present:

And you have to require the reader-function like this:

(:require
[de.otto.tesla.vault.vault_reader :only [read-secret]])

Initial Contributors

Christian Stamm, Florian Weyandt, Carl Düvel

License

Released under Apache License 2.0 license.