I'm currently signed into my portal through ArcGIS Pro. When I want to use a python notebook to update my portal, I use:
from arcgis.gis import GIS my_gis = GIS( url='https://<my Org's URL>', cert_file = <path to cert>, password = <my password>, username='ANY' )
Since I'm already signed into my Portal in ArcGIS Pro, is there a way that I can automatically pass it my password?
It doesn't seem to need a username; I just pass in 'ANY'.