WEP

{
   "method": "dhcp",
   "name": "wlan0",
   "wpa_key_mgmt": "NONE",
   "wireless_essid": "<wireless_ssid>",
   "wireless_key": "<wireless_key>"
}

WPA-PSK

{
  "method": "dhcp",
  "name": "wlan0",
  "wpa_key_mgmt": "WPA-PSK",
  "wpa_psk": "<password>",
  "wpa_ssid": "<wireless_ssid>"
}

WPA2 Enterprise (PEAP)

{
  "method": "dhcp",
  "name": "wlan0",
  "wpa_ap_scan": "1",
  "wpa_driver": "wext",
  "wpa_eap": "PEAP",
  "wpa_group": "CCMP",
  "wpa_pairwise": "CCMP",
  "wpa_identity": "<username>",
  "wpa_password": "<password>",
  "wpa_key_mgmt": "WPA-EAP",
  "wpa_phase2": "auth=MSCHAPV2",
  "wpa_proto": "RSN",
  "wpa_ssid": "<wireless_ssid>"
}

WPA2 Enterprise (TLS)

{
  "method": "dhcp",
  "name": "wlan0",
  "wpa_ap_scan": "1",
  "wpa_driver": "wext",
  "wpa_eap": "TLS",
  "wpa_group": "CCMP",
  "wpa_pairwise": "CCMP",
  "wpa_identity": "<username>",
  "wpa_password": "<password>",
  "wpa_key_mgmt": "WPA-EAP",
  "wpa_phase2": "auth=MSCHAPV2",
  "wpa_proto": "RSN",
  "wpa_ssid": "<wireless_ssid>",
  "wpa_ca_cert": "/opt/pathview/certs/wpa/<ca_cert_file>",
  "wpa_client_cert": "/opt/pathview/certs/wpa/<client_cert_file>",
  "wpa_private_key": "/opt/pathview/certs/wpa/<client_priv_key_file>",
  "wpa_private_key_passwd": "<wpa_private_key_passwd>"
}