Name => {
            // Skip session token if not provided (for Bedrock)
            if (fieldName === 'awsSessionToken' && !details[fieldName]) return null;

            const key = formatter.formatKey(fieldName);
            const value = generateHighlightedValue(details[fieldName], fieldName);
            return formatter.template(key, formatter.separator, value);
          })
          .filter(Boolean)
          .join(formatter.joinWith);

        return formatter.prefix + configLines;
      }


      