Liking cljdoc? Tell your friends :D

wagoe.core.utils.secret-keys

Whether a config or data key names a secret. One rule for log redaction, the devtools config views and bb doctor (BOU-973). wagoe.tools.secret-keys is its Babashka copy; a tools test holds the two to the same answers.

Whether a config or data key names a secret. One rule for log redaction,
the devtools config views and `bb doctor` (BOU-973). wagoe.tools.secret-keys
is its Babashka copy; a tools test holds the two to the same answers.
raw docstring

normalizeclj

(normalize k)

k as lower-case kebab: :Password, "password_hash", "passwordHash" and "DBPassword" become "password", "password-hash", "password-hash" and "db-password".

`k` as lower-case kebab: `:Password`, `"password_hash"`, `"passwordHash"`
and `"DBPassword"` become "password", "password-hash", "password-hash"
and "db-password".
sourceraw docstring

secret-key?clj

(secret-key? k)

True when key k names a secret.

True when key `k` names a secret.
sourceraw docstring

secret-name?clj

(secret-name? kname)

True when kname, already normalized, names a secret.

True when `kname`, already `normalize`d, names a secret.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close