Expand description
Utilities for masking sensitive configuration values for display.
Configuration values such as API keys, tokens, and secrets must never be
printed in their raw form to terminal output or log files. This module
provides a single helper, mask_sensitive_value, that inspects the
configuration key and, when it refers to a sensitive item, replaces the
value with a safe masked representation.
Functionsยง
- mask_
sensitive_ value - Return a display-safe representation of a configuration value.