Liking cljdoc? Tell your friends :D
Clojure only.

vault.client.http


http-client

(http-client api-url & {:as opts})

Constructs a new HTTP Vault client.

Client behavior may be controlled with the options:

  • :http-opts Additional options to pass to clj-http requests.
  • :lease-renewal-window Period in seconds to renew leases before they expire.
  • :lease-check-period Period in seconds to check for leases to renew.
  • :lease-check-jitter Maximum amount in seconds to jitter the check period by.
  • :revoke-on-stop? Whether to revoke all outstanding leases when the client stops.
Constructs a new HTTP Vault client.

Client behavior may be controlled with the options:

- `:http-opts`
  Additional options to pass to `clj-http` requests.
- `:lease-renewal-window`
  Period in seconds to renew leases before they expire.
- `:lease-check-period`
  Period in seconds to check for leases to renew.
- `:lease-check-jitter`
  Maximum amount in seconds to jitter the check period by.
- `:revoke-on-stop?`
  Whether to revoke all outstanding leases when the client stops.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close