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!
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.
@John-Foster I am having the same issue as the OP.
I am using a Arcgis Organization account. I have the creator user type and administrator role. I am using the 21 day trial to build a proof of concept for our app.
Could it be that trial accounts cannot generate API Key Credentials? I am only seeing Auth 2.0 options.
You cannot create api keys with the trial account.
You can try to do this with the ArcGIS Location Platform account, with it you get access to services with the free tier and you can create api keys, but I am not sure if it will cover all the services you need as it is not the same as an ArcGIS Online account. You can sign up for free https://location.arcgis.com/