iot_dps_resource_keys
Creates, updates, deletes, gets or lists a iot_dps_resource_keys
resource.
Overview
Name | iot_dps_resource_keys |
Type | Resource |
Id | azure.iot_hub_device_provisioning.iot_dps_resource_keys |
Fields
Name | Datatype | Description |
---|---|---|
keyName | string | Name of the key. |
primaryKey | string | Primary SAS key value. |
rights | string | Rights that this key has. |
secondaryKey | string | Secondary SAS key value. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | provisioningServiceName, resourceGroupName, subscriptionId | List the primary and secondary keys for a provisioning service. |
SELECT
examples
List the primary and secondary keys for a provisioning service.
SELECT
keyName,
primaryKey,
rights,
secondaryKey
FROM azure.iot_hub_device_provisioning.iot_dps_resource_keys
WHERE provisioningServiceName = '{{ provisioningServiceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';