Hi,
I stumbled on this issue when cesium ion was set up, it seems that if you don’t give any imagery provider to your viewer it defaults to ion, hence the message. I got around this by giving it a very simple imagery provider at viewer creation, that I replace when my assets are loaded.
// create dummy imageryProvider to avoid annoying cesium ion API key message
imageryProvider : new Cesium.TileMapServiceImageryProvider({
url : Cesium.buildModuleUrl('Assets/Textures/NaturalEarthII')
})
Note that your app will still use Cesium ion’s geocoder by default. To turn off all cloud features see the “Offline” Sandcastle example: Cesium Sandcastle