CmdID

CmdID / az / az iot / az iot hub / az iot hub policy

az iot hub policy create

Create a new shared access policy in an IoT hub. Azure CLI reference

1 example Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Create a new shared access policy.

az iot hub policy create --hub-name MyIotHub --name new-policy --permissions RegistryWrite ServiceConnect DeviceConnectIdentify
--nameShared access policy name.
--permissionsPermissions of shared access policy.