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
Solved! Go to Solution.
Peter, currently this is not possible. However, its an interesting idea that we discussed internally and decided to leave it as is, to keep things simple. Can I request you to post this in the ArcGIS Ideas site so other users can vote? It helps us understand requirements and prioritize them.
Peter, currently this is not possible. However, its an interesting idea that we discussed internally and decided to leave it as is, to keep things simple. Can I request you to post this in the ArcGIS Ideas site so other users can vote? It helps us understand requirements and prioritize them.
Thanks, Atma Mani. I have submitted it to the ArcGIS Ideas site:
Support multiple authentication profiles in ArcGIS API for Python