az acr identity
Manage service (managed) identities for a container registry.
Name | Description | Type | Status |
---|---|---|---|
az acr identity assign |
Assign a managed identity to a container registry. |
Core | GA |
az acr identity remove |
Remove a managed identity from a container registry. |
Core | GA |
az acr identity show |
Show the container registry's identity details. |
Core | GA |
Assign a managed identity to a container registry.
Managed identities can be user-assigned or system-assigned.
az acr identity assign --identities
--name
[--resource-group]
Space-separated identities. Use '[system]' to refer to the system assigned identity.
The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=<registry 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.
Remove a managed identity from a container registry.
az acr identity remove --identities
--name
[--resource-group]
Space-separated identities. Use '[system]' to refer to the system assigned identity.
The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=<registry 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.
Show the container registry's identity details.
az acr identity show --name
[--resource-group]
The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=<registry 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: