Secret references read from their stores at spawn. The port is hive-system's
ISecretBackend; a resolver is {scheme backend}, one backend per scheme a
reference may name. :pass is hive-system's PassBackend: pass <path>
through the injected exec, its first non-blank line, trimmed.
A failure names the variable, the reference and the store's reason, never a
value. A new scheme ({:env "VAR"}) is a backend of that id here and a map
in hive-compose.schema/SecretRef.
Secret references read from their stores at spawn. The port is hive-system's
`ISecretBackend`; a resolver is {scheme backend}, one backend per scheme a
reference may name. `:pass` is hive-system's PassBackend: `pass <path>`
through the injected `exec`, its first non-blank line, trimmed.
A failure names the variable, the reference and the store's reason, never a
value. A new scheme (`{:env "VAR"}`) is a backend of that id here and a map
in `hive-compose.schema/SecretRef`.(make-resolver opts){scheme ISecretBackend}. opts: :exec, the shell pass runs through
(default hive-system shell.core/exec!).
{scheme ISecretBackend}. `opts`: :exec, the shell `pass` runs through
(default hive-system `shell.core/exec!`).(resolve-env resolver env)Result<{name string}>: env with every reference read from its store, in
name order; the first that cannot be read is the error. Plain strings pass
through untouched, and an env without references touches no store.
Result<{name string}>: `env` with every reference read from its store, in
name order; the first that cannot be read is the error. Plain strings pass
through untouched, and an env without references touches no store.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |