# Azure IoT Hub – Use of API Key?

**URL:** <https://www.thethingsnetwork.org/forum/t/azure-iot-hub-use-of-api-key/57653>\
**Category:** Azure\
**Created:** [June 21, 2022, 10:06am UTC](https://www.thethingsnetwork.org/forum/t/azure-iot-hub-use-of-api-key/57653 "2022-06-21T10:06:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aggora\_IoT](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/aggora_iot/32/35697_2.png) [@Aggora\_IoT](https://www.thethingsnetwork.org/forum/u/Aggora_IoT)\
**Post date:** [June 21, 2022, 10:06am UTC](https://www.thethingsnetwork.org/forum/t/azure-iot-hub-use-of-api-key/57653/1 "2022-06-21T10:06:21Z")

</div>

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)](https://www.thethingsindustries.com/docs/integrations/cloud-integrations/azure-iot-hub/deployment/), 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.
