Azure IoT Hub – Use of API Key?

Hi all,

I am setting up an Azure IoT Hub and want to know what the API key is required for and where/how you enter this value during setup of the IoT Hub.

I ask as if you follow the deployment guide here: Deployment Guide | The Things Stack for LoRaWAN (thethingsindustries.com), and use the ‘deploy template’ you are required to enter the generated API key. However, if I set up an Azure IoT Hub within the Azure console there is no obvious place to enter the API, but the IoT Hub will still be created.

If I use the deploy template and then interrogate the resulting IoT Hub, I cannot find where the API key is displayed/stored. Can anyone tell me? I ask as I want to be able to create an IoT hub manually and then enter the API key afterwards.