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.
(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".
(secret-key? k)True when key k names a secret.
True when key `k` names a secret.
(secret-name? kname)True when kname, already normalized, names a secret.
True when `kname`, already `normalize`d, names a secret.
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 |