Select to view content in your preferred language

How do I create an API key

384
6
Jump to solution
a month ago
DanielOSullivan
Emerging Contributor

I want to create an API key I have tried following the documentation but it does not work there is no option to create a key in Developer Credentials as the guide suggests. 

0 Kudos
1 Solution

Accepted Solutions
John-Foster
Esri Contributor

Public accounts are not granted the privileges to manage developer credentials. You will need an ArcGIS Online account Creator or higher, or you can create an ArcGIS Location Platform account for free.

--jf

View solution in original post

6 Replies
GISPolice
Emerging Contributor

Did you try the following?
1. go to arcgis.com/home/content.html
2. New Item
3. Developer credentials
4. Api key credentials
5. set the expiration, privledges
6. Give the item a title
7. Generate the API key now. I am ready to copy and save the key.

it should automatically take you to the item it just created with a generate api key window where you can copy your API key

0 Kudos
LaurenBoyd
Esri Contributor

Hi @DanielOSullivan -

If you aren't seeing the option to create API key credentials in the Create Developer Credentials window, your account may need a specific privilege assigned to you to gain this access. To create API key credentials with an ArcGIS Online account, your account must have administrator access or a custom role with developer privilegesSee this documentation for more details: https://developers.arcgis.com/documentation/security-and-authentication/api-key-authentication/#arcg... 

Lauren
0 Kudos
DanielOSullivan
Emerging Contributor

Hi. I created the account so I assume I would be admin. How do I check what privileges I have?

0 Kudos
LaurenBoyd
Esri Contributor

@DanielOSullivan 

What type of account do you have? Only ArcGIS Location Platform, ArcGIS Online, or ArcGIS Enterprise 11.4 allow API key credentials. If it's ArcGIS Location Platform, then you should be able to create the API without changing privileges. If it's ArcGIS Online or ArcGIS Enterprise, you'll have to add those privileges as noted in these steps: https://developers.arcgis.com/documentation/security-and-authentication/faq/#what-accounts-can-creat... 

 

Lauren
0 Kudos
DanielOSullivan
Emerging Contributor

I just set up a free account how do I tell what my account type is? 

0 Kudos
John-Foster
Esri Contributor

Public accounts are not granted the privileges to manage developer credentials. You will need an ArcGIS Online account Creator or higher, or you can create an ArcGIS Location Platform account for free.

--jf