We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inspect-secrets
Currently secrets inspect can be done via the command line, but it also can be nice to do this from the repl. Copying the code here, we could just do
secrets inspect
(defn inspect-secrets [] (secrets/with-secrets (pprint/pprint (walk/postwalk (fn [x] (try ;; Replace any "leaves" (the bottom levels of the hierarchy, i.e. ;; the actual secrets) (let [is-leaf? (and (map-entry? x) (not (map? (val x))))] (if is-leaf? [(key x) "***"] x)) (catch Throwable ex))) (secrets/secrets)))))
Any reason not to add this (and make the cli function use it)?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently
secrets inspect
can be done via the command line, but it also can be nice to do this from the repl. Copying the code here, we could just doAny reason not to add this (and make the cli function use it)?
The text was updated successfully, but these errors were encountered: