AnsweredAssumed Answered

Can one store multiple sets of credentials in .arcgisprofile?

Question asked by knoop_umich on Dec 27, 2017
Latest reply on Dec 31, 2017 by knoop_umich

Is there a way to store multiple sets of credentials in .arcgisprofile? It appears that each call I make to arcgis.gis.GIS to establish a set of credentials overwrites the contents of .arcgisprofile, such that it only contains the more recent set of credentials.

 

Since the file contains the profile name, I'm hoping there is a way to store multiple sets of credentials there, and perhaps someone can point me in the right direction?

 

For instance, I often find myself wanting to quickly switch back-and-forth between our Production and our Development environments in Jupyter notebooks, maybe in the same notebook, or maybe in two notebooks running side-by-side. I would like to do that by simply specifying gis = GIS(profile='prod') or GIS(profile='dev'), rather than having to provide the fuller set of credential information each time.

 

Thanks!

 

-peter

Outcomes