protected function format($key, $value)
    {
        if (in_array($key, self::$secretEnvVars, true)
            && is_string($value)
            && strlen($value) > 0) {
            $value = '********(HIDDEN)';
        }

        return sprintf("  - %s=%s\n", $key, var_export($value, true));
    }