Azure IoT Hub DPS Certificate
This page shows how to write Terraform and Azure Resource Manager for IoT Hub DPS Certificate and write them securely.
azurerm_iothub_dps_certificate (Terraform)
The DPS Certificate in IoT Hub can be configured in Terraform with the resource name azurerm_iothub_dps_certificate
. The following sections describe 2 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_iothub_dps_certificate" "this" {
certificate_content = var.certificate_content
iot_dps_name = var.iot_dps_name
name = var.name
resource_group_name = var.resource_group_name
resource "azurerm_iothub_dps_certificate" "this" {
certificate_content = var.certificate_content
iot_dps_name = var.iot_dps_name
name = var.name
resource_group_name = var.resource_group_name
Parameters
-
certificate_content
required - string -
id
optional computed - string -
iot_dps_name
required - string -
name
required - string -
resource_group_name
required - string -
timeouts
single block
Explanation in Terraform Registry
Manages an IotHub Device Provisioning Service Certificate.
Microsoft.Devices/provisioningServices/certificates (Azure Resource Manager)
The provisioningServices/certificates in Microsoft.Devices can be configured in Azure Resource Manager with the resource name Microsoft.Devices/provisioningServices/certificates
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Frequently asked questions
What is Azure IoT Hub DPS Certificate?
Azure IoT Hub DPS Certificate is a resource for IoT Hub of Microsoft Azure. Settings can be wrote in Terraform.
Where can I find the example code for the Azure IoT Hub DPS Certificate?
For Terraform, the kevinhead/azurerm and niveklabs/azurerm source code examples are useful. See the Terraform Example section for further details.