I am trying to deploy multiple ArcGIS Feature Service connections to all of the QGIS 3 users in my workplace.
Is there a way to do it using the Python API?
At the moment I'm manually adding the connections into the QGIS3.ini, like this :
[qgis]
connections-arcgisfeatureserver\My%20Service%20Name\url=https://services.somewhere.com/arcgis/rest/services/My_Service_Name/MapServer
ARCGISFEATURESERVER\My%20Service%20Name\username=MyUsername
ARCGISFEATURESERVER\My%20Service%20Name\password=MyPassword
ARCGISFEATURESERVER\My%20Service%20Name\authcfg=
but I would prefer to add them using Python if possible.