TransportConfigOptions interface
Properties
host | Hostname of the Azure IoT hub. (.azure-devices.net). |
hub |
|
key |
The name of the policy used to connect to the Azure IoT Hub service. |
shared |
The shared access signature token used to authenticate the connection with the Azure IoT hub. |
token |
The token credential used to authenticate the connection with the Azure IoT hub. |
token |
The token scope used to get the token from the TokenCredential object |
Property Details
host
Hostname of the Azure IoT hub. (.azure-devices.net).
host: string
Property Value
string
hubName
Warning
This API is now deprecated.
This is not used anywhere anymore. Name of the Azure IoT hub. (The first section of the Azure IoT hub hostname)
hubName?: string
Property Value
string
keyName
The name of the policy used to connect to the Azure IoT Hub service.
keyName?: string
Property Value
string
sharedAccessSignature
The shared access signature token used to authenticate the connection with the Azure IoT hub.
sharedAccessSignature?: string | SharedAccessSignature
Property Value
string | SharedAccessSignature
tokenCredential
The token credential used to authenticate the connection with the Azure IoT hub.
tokenCredential?: TokenCredential
Property Value
tokenScope
The token scope used to get the token from the TokenCredential object
tokenScope?: string
Property Value
string