code: def _get_connection_info():
      
  
      info = 'Connection: %s,' % CONN.url
      if CONN.creds is not None:
          info += ' userid=%s,' % CONN.creds[0]
      else:
          info += ' no creds,'
  
      info += ' cacerts=%s,' % ('sys-default' if CONN.ca_certs is None
                                else CONN.ca_certs)
  
      info += ' verifycert=%s,' % ('off' if CONN.no_verification else 'on')
  
      info += ' default-namespace=%s' % CONN.default_namespace
      if CONN.x509 is not None:
          info += ', client-cert=%s' % CONN.x509['cert_file']
          try:
              kf = CONN.x509['key_file']
          except KeyError:
              kf = "none"
          info += ":%s" % kf
  
      if CONN.timeout is not None:
          info += ', timeout=%s' % CONN.timeout
  
      # pylint: disable=protected-access
      info += ' stats=%s, ' % ('on' if CONN._statistics else 'off')
  
      info += 'log=%s' % ('on' if CONN._operation_recorders else 'off')
  
      if isinstance(CONN, FakedWBEMConnection):
          info += ', mock-server'
  
      return fill(info, 78, subsequent_indent='    ')
docs: Return a string with the connection info.