Skip to main content

flat_env_string_sensitive

Function flat_env_string_sensitive 

Source
pub fn flat_env_string_sensitive(prefix: &str, suffix: &str) -> Option<String>
Expand description

Read a flat env var as a String, masking the value in debug output.

Behaves identically to flat_env_string but does not include the value in log messages. Use for passwords, tokens, and API keys.