az acr config authentication-as-arm
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage 'Azure AD authenticate as ARM' policy for Azure Container Registries.
Commands
Name | Description | Type | Status |
---|---|---|---|
az acr config authentication-as-arm show |
Show the configured 'Azure AD authenticate as ARM' policy for an Azure Container Registry. |
Core | Preview |
az acr config authentication-as-arm update |
Update 'Azure AD authenticate as ARM' policy for an Azure Container Registry. |
Core | Preview |
az acr config authentication-as-arm show
Command group 'acr config authentication-as-arm' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Show the configured 'Azure AD authenticate as ARM' policy for an Azure Container Registry.
az acr config authentication-as-arm show --registry
[--resource-group]
Examples
Show the configured 'Azure AD authenticate as ARM' policy for an Azure Container Registry
az acr config authentication-as-arm show -r myregistry
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
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.
az acr config authentication-as-arm update
Command group 'acr config authentication-as-arm' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Update 'Azure AD authenticate as ARM' policy for an Azure Container Registry.
az acr config authentication-as-arm update --registry
[--resource-group]
[--status {disabled, enabled}]
Examples
Disable 'Azure AD authenticate as ARM' policy for an Azure Container Registry, so only ACR audienced tokens can be used for authentication
az acr config authentication-as-arm update -r myregistry --status Disabled
Enable 'Azure AD authenticate as ARM' policy for an Azure Container Registry, it will allow both ACR and ARM audienced tokens to be used for authentication
az acr config authentication-as-arm update -r myregistry --status Enabled
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
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Indicate whether authentication-as-arm is enabled.
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.