Hi Alan,
Through my Developer account, I can share private content via an API Key to a public map which I have software engineered through the Maps SDK. The SDK provides an opportunity to add that API Key.
esriConfig.apiKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
const webmap = new WebMap({
portalItem: {
id: "XXXXXXXXXXXXXXX"
}});
Through my Developer account I have the capability to create ArcGIS Map Viewer maps and ArcGIS Client applications. I am not restricted from making these public. However, I have no mechanism to add the API Key to those maps or applications.
- I can programmatically create a public map which accesses private content through an API Key
- I can’t use the Map Viewer to create a public map which accesses private content through an API Key
If the intent of the API Key in this scenario is to provide metrication and security against hosted content, then an inability to bring this content to our maps and apps seems to be a gap. Am I missing a point of configuration?