If you run.
sudo -u www-data php occ files_external:export
…there is a entry like this
“authentication_type”: “password::logincredentials”
Since this ist not in the “configuration” or “options” section, i can not find any command (except files_external:create) to change these value.
It seems to be possible only in Web GUI.