Skip to content

Commit 9a90922

Browse files
edits
1 parent 0597817 commit 9a90922

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

articles/container-registry/container-registry-enable-conditional-access-policy.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,19 @@ The following steps will help create a Conditional Access policy for Azure Conta
3030
3131
## Disable authentication-as-arm in ACR - Azure CLI
3232

33-
Disabling `azureADAuthenticationAsArmPolicy` will force the registry to use ACR audience token. You can use Azure CLI version 2.40.0 or later, run `az --version` to find the version.
33+
Disabling `azureADAuthenticationAsArmPolicy` will force the registry to use ACR audience token. You can use Azure CLI version 2.40.0 or later, run `az --version` to find the version.
3434

35-
1. Run the command to show the current configuration of the registry's policy for authentication using ARM tokens with the registry. If the status is `enabled`, then both ACRs and ARM audience tokens can be used for authentication. If the status is `disabled` it means only ACR's audience tokens can be used for authentication.
35+
1. Run the command to show the current configuration of the registry's policy for authentication using ARM tokens with the registry. If the status is `enabled`, then both ACRs and ARM audience tokens can be used for authentication. If the status is `disabled` it means only ACR's audience tokens can be used for authentication.
3636

37-
```azurecli-interactive
38-
az acr config authentication-as-arm show -r <registry>
39-
```
37+
```azurecli-interactive
38+
az acr config authentication-as-arm show -r <registry>
39+
```
4040

41-
1. Run the command to update the status of the registry's policy.
41+
1. Run the command to update the status of the registry's policy.
4242

43-
```azurecli-interactive
44-
az acr config authentication-as-arm update -r <registry> --status [enabled/disabled]
45-
```
43+
```azurecli-interactive
44+
az acr config authentication-as-arm update -r <registry> --status [enabled/disabled]
45+
```
4646

4747
## Disable authentication-as-arm in the ACR - Azure portal
4848

0 commit comments

Comments
 (0)