def METHOD_NAME(key: str, value: str, no_shielding: bool) -> str:
    value_str = str(value) or ""
    if any(key.endswith(s) for s in SENSITIVE_KEY_SUFFIXES) and not no_shielding:
        value_str = value_str[:1] + "*******"
    return "%s=%s" % (key, value_str)