You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/container-registry/tutorial-enable-registry-cache-auth-cli.md
+27-22Lines changed: 27 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,14 +22,19 @@ This article walks you through the steps of enabling Caching for ACR with authen
22
22
23
23
### Create a Credential Set - Azure CLI
24
24
25
-
Before configuring a Credential Set, you require to create and store secrets in the Azure KeyVault and retrieve the secrets from the Key Vault. Learn more about [creating and storing credentials in a Key Vault.][create-and-store-keyvault-credentials] and to [set and retrieve a secret from Key Vault.][set-and-retrieve-a-secret].
25
+
Before configuring a Credential Set, you have to create and store secrets in the Azure KeyVault and retrieve the secrets from the Key Vault. Learn more about [creating and storing credentials in a Key Vault.][create-and-store-keyvault-credentials] and to [set and retrieve a secret from Key Vault.][set-and-retrieve-a-secret].
26
26
27
27
1. Run [az acr credential set create][az-acr-credential-set-create] command to create a credential set.
28
28
29
29
- For example, To create a credential set for a given `MyRegistry` Azure Container Registry.
Copy file name to clipboardExpand all lines: articles/container-registry/tutorial-enable-registry-cache-auth.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ Follow the steps to create cache rule in the [Azure portal](https://portal.azure
66
66
- For example, to assign permissions for the credential set access the KeyVault secret
67
67
68
68
```azurecli-interactive
69
-
az keyvault set-policy --name $KEYVAULT_NAME \
69
+
az keyvault set-policy --name MyKeyVault \
70
70
--object-id $PRINCIPAL_ID \
71
71
--secret-permissions get
72
72
```
@@ -99,6 +99,6 @@ Before configuring a Credential Set, you require to create and store secrets in
99
99
* To enable Caching for ACR (preview) with authentication using the Azure CLI advance to the next article [Enable Caching for ACR - Azure CLI](tutorial-enable-registry-cache-auth-cli.md).
Copy file name to clipboardExpand all lines: articles/container-registry/tutorial-enable-registry-cache-cli.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,6 @@ This article is part three of a six-part tutorial series. [Part one](tutorial-re
13
13
## Prerequisites
14
14
15
15
>* You can use the [Azure Cloud Shell][Azure Cloud Shell] or a local installation of the Azure CLI to run the command examples in this article. If you'd like to use it locally, version 2.0.74 or later is required. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI][Install Azure CLI].
16
-
>* You have an existing Key Vault to store credentials. Learn more about [creating and storing credentials in a Key Vault.][create-and-store-keyvault-credentials]
17
16
18
17
## Configure Caching for ACR (preview) - Azure CLI
Copy file name to clipboardExpand all lines: articles/container-registry/tutorial-enable-registry-cache.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,6 @@ This article is part two of a six-part tutorial series. [Part one](tutorial-regi
12
12
13
13
## Prerequisites
14
14
15
-
>* You have an existing Key Vault to store credentials. Learn more about [creating and storing credentials in a Key Vault.][create-and-store-keyvault-credentials]
16
15
>* Sign in to the [Azure portal](https://ms.portal.azure.com/)
17
16
18
17
## Configure Caching for ACR (preview) - Azure portal
0 commit comments