Select to view content in your preferred language

Tutorial: Create an API key WRONG Developer credentials > API key credentials

202
1
09-28-2024 01:59 PM
KenPersonal
New Contributor

The Developer tutorials for creating features, etc. are centered on API Keys. Everything links to this page for how to create an API key,
https://developers.arcgis.com/documentation/security-and-authentication/api-key-authentication/tutor...
The tutorial page gives INCORRECT information. It says to create an item, then click Developer credentials > API key credentials.  However, there is no "API key credentials" option.
I have tried this with my fully-privileged work account and an ArcGIS Personal account.

FIRST: It is very frustrating to be led to invalid training material. 

SECOND: All tutorials seem to be API Key centric, even though Client ID/Client Secret methods exist as well as programmatic sign-in to obtain a token, but I don't see where these are covered.

THIRD: If you sign up using a different email address through https://location.arcgis.com/ then go to Content > New item > Developer credentials, you then have "API key credentials"   But what good is that going to do me when created under a different user account than the one I'm trying to create content for? (i.e. 1) work, 2) ArcGIS Personal).

Basically, what is the correct method?  How do I get an API Key so I can follow the tutorials and programmatically generate content in my main, paid-for, licensed Portals?

And PLEASE, fix the tutorial so it tracks with reality!

0 Kudos
1 Reply
John-Foster
Esri Contributor

this workflow is dependent of the type of account you are logged in with. If there is no "API key credentials" option then the account you are logged in with wasn't assigned that ability. Please check your account type.

In the tutorial you reference, if you look at the Prerequisites section and then follow the Limitations link, there it states that ArcGIS Personal Account is not enabled for API keys access. I am not sure what type of account your other account is. If you can get access to an ArcGIS Online creator user type account it should work. In some cases you may need to contact your organization administrator to grant you the required privileges.

To learn of the other types of authentication please review https://developers.arcgis.com/documentation/security-and-authentication/types-of-authentication/ and subsections such as https://developers.arcgis.com/documentation/security-and-authentication/user-authentication/how-to-i...

I hope this helps.

--jf
0 Kudos