Is there a way to store credentials when adding a secured item with the Python API? I'm not seeing anything in the documentation for the arcgis.gis module...I can add the item using:
gis.content.add({'type': 'Feature Service', 'url': <url>, 'title': <title>})
But there is no way that I can see to store the credentials to the item...Is there something I'm missing, or is there another way to do this?