implement-c4k-and-provs #1
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@
|
||||||
c (domain/gopass-show-command entry)]
|
c (domain/gopass-show-command entry)]
|
||||||
(i/execute-output! c config)))
|
(i/execute-output! c config)))
|
||||||
|
|
||||||
(defn-spec resolve-gopass! ::resolved-config
|
(defn-spec resolve-gopass! ::domain/resolved-config
|
||||||
"Resolves gopass values inside a map of key names and entries
|
"Resolves gopass values inside a map of key names and entries
|
||||||
|
|
||||||
entries may either contain only a path
|
entries may either contain only a path
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
can be changed by adding another value for ':c4k-auth-filename'
|
can be changed by adding another value for ':c4k-auth-filename'
|
||||||
"
|
"
|
||||||
[devops ::d/devops
|
[devops ::d/devops
|
||||||
resolved-config ::resolved-config]
|
resolved-config ::domain/resolved-config]
|
||||||
(let [config (merge default devops)
|
(let [config (merge default devops)
|
||||||
default-c4k-auth (parse-string (slurp (c4k-d/auth-path config))
|
default-c4k-auth (parse-string (slurp (c4k-d/auth-path config))
|
||||||
(fn [k] (keyword (.toLowerCase k))))]
|
(fn [k] (keyword (.toLowerCase k))))]
|
||||||
|
|
Loading…
Reference in a new issue