Is it possible to use WPA3 with netplan?

I'm using Ubuntu 20.04.3 LTS and can't connect the wifi using WPA3; I've tried this in /etc/netplan/01-network.yaml:

network:
  version: 2
  renderer: networkd
  wifis:
    wlan0:
      dhcp4: true
      access-points:
        "MYSID":
          password: "mypassword123"

It works ok if I setup the router to use WPA2 authentication, but if I set it to WPA3 it fails. What should I do in order to make this work with WPA3?

Please notice that my question is specifically about using WPA3 with netplan using networkd as a renderer (solutions using NetworkManager is not what I'm looking for)


With the networkd backend, netplan dispatches wifi security directly to wpa_supplicant because networkd does not have direct support for this. Any WPA3 features that are enabled by default in wpa_supplicant are available. However, if you need to configure WPA3-specific options, such as SAE key management, netplan does not currently support this. You can file a feature request at https://bugs.launchpad.net/netplan.