code: def _add_eap_args(eap_args: Dict[str, str]) -> List[str]:
      
      args = ['wifi-sec.key-mgmt', 'wpa-eap']
      eap_type = EAP_TYPES.by_qualified_name(eap_args['eapType'])
      type_args = eap_type.args()
      args += ['802-1x.eap', eap_type.outer.value.name]
      if eap_type.inner:
          args += ['802-1x.phase2-autheap', eap_type.inner.value.name]
      for ta in type_args:
          if ta['name'] in eap_args:
              if ta['type'] == 'file':
                  # Keyfiles must be prepended with file:// so nm-cli
                  # knows that we’re not giving it DER-encoded blobs
                  _make_host_symlink_if_necessary()
                  path = _rewrite_key_path_to_host_path(eap_args[ta['name']])
                  val = 'file://' + path
              else:
                  val = eap_args[ta['name']]
              args += ['802-1x.' + ta['nmName'], val]
      return args
docs: Add configuration options suitable for an nmcli con add command
      for WPA-EAP configuration. These options are mostly in the
      802-1x group.
  
      The eap_args dict should be a flat structure of arguments. They
      must contain at least 'eapType', specifying the EAP type to use
      (the qualified_name() of one of the members of EAP_TYPES) and the
      required arguments for that EAP type.