az iot ops identity
Note
This reference is part of the azure-iot-ops extension for the Azure CLI (version 2.53.0 or higher). The extension will automatically install the first time you run an az iot ops identity command. Learn more about extensions.
Instance identity management.
Name | Description | Type | Status |
---|---|---|---|
az iot ops identity assign |
Assign a user-assigned managed identity with the instance. |
Extension | GA |
az iot ops identity remove |
Remove a user-assigned managed identity from the instance. |
Extension | GA |
az iot ops identity show |
Show the instance identities. |
Extension | GA |
Assign a user-assigned managed identity with the instance.
This operation includes federation of the identity.
az iot ops identity assign --mi-user-assigned
--name
--resource-group
[--fc]
[--self-hosted-issuer {false, true}]
[--usage {dataflow}]
Assign and federate a desired user-assigned managed identity.
az iot ops identity assign --name myinstance -g myresourcegroup --mi-user-assigned $UA_MI_RESOURCE_ID
The resource Id for the desired user-assigned managed identity to use with the instance.
IoT Operations instance name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The federated credential name.
Use the self-hosted oidc issuer for federation.
Indicates the usage type of the associated identity.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Remove a user-assigned managed identity from the instance.
az iot ops identity remove --mi-user-assigned
--name
--resource-group
[--fc]
Remove the desired user-assigned managed identity from the instance.
az iot ops identity remove --name myinstance -g myresourcegroup --mi-user-assigned $UA_MI_RESOURCE_ID
The resource Id for the desired user-assigned managed identity to use with the instance.
IoT Operations instance name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The federated credential name.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Show the instance identities.
az iot ops identity show --name
--resource-group
Show the identities associated with the target instance.
az iot ops identity show --name myinstance -g myresourcegroup
IoT Operations instance name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI feedback
Azure CLI is an open source project. Select a link to provide feedback: