Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
az acr identity
Manage service (managed) identities for a container registry.
Commands
| 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 |
az acr identity assign
Assign a managed identity to a container registry.
Managed identities can be user-assigned or system-assigned.
az acr identity assign --identities
--name
[--acquire-policy-token]
[--change-reference]
[--resource-group]
Required Parameters
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>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
az acr identity remove
Remove a managed identity from a container registry.
az acr identity remove --identities
--name
[--acquire-policy-token]
[--change-reference]
[--resource-group]
Required Parameters
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>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
az acr identity show
Show the container registry's identity details.
az acr identity show --name
[--resource-group]
Required Parameters
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>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Feedback
Was this page helpful?
