"API keys are only available to ArcGIS Developer accounts or ArcGIS Online accounts of user type Creator (or higher). API keys are not available with ArcGIS Enterprise. API keys are not available with any other ArcGIS account type such as Public, Education, Personal Use, etc."
"API keys are only available to ArcGIS Developer accounts or ArcGIS Online accounts of user type Creator (or higher). API keys are not available with ArcGIS Enterprise. API keys are not available with any other ArcGIS account type such as Public, Education, Personal Use, etc."
https://developers.arcgis.com/faq/#services-api-keys