I can authenticate using the below... But I want to hide my credentials.
How can I do that?
gis = GIS('https://vdot.maps.arcgis.com', username, password) user_list = gis.users.search(query=search_user, max_users=maxResults)
Hide where? Depending on where running from:
gis = GIS("home")
Will use the last user logged in with Pro (if hasn't been longer than 14 days).
R_
Ingelogde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Maak gratis een account aan.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.