title: Native API to mount network volumes
body: <p>I'm looking for a native macOS API that would enable me to mount network volumes. </p>
  
  <p>Specifically, I'm looking to do exactly what Finder (Cmd-K) does, including passing credentials separately from the URI and mountpoint creation under /Volumes without superuser access. </p>
  
  <p>Currently I'm using <code>mount_smbfs</code> and <code>mount_afp</code>, but:</p>
  
  <ul>
  <li>They require credentials to be encoded into the URI, and <code>mount_afp</code> doesn't work with unicode characters in password, even urlquoted</li>
  <li>I have to create mountpoints as root first</li>
  </ul>