Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 09b23c6

Browse files
committedMay 22, 2020
acrfix
1 parent 37c7fc5 commit 09b23c6

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed
 

‎articles/container-registry/container-registry-repository-scoped-permissions.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Permissions to repositories in Azure Container Registry
33
description: Create a token with permissions scoped to specific repositories in a registry to pull or push images, or perform other actions
44
ms.topic: article
5-
ms.date: 02/13/2020
5+
ms.date: 05/22/2020
66
---
77

88
# Create a token with repository-scoped permissions
@@ -15,12 +15,13 @@ Scenarios for creating a token include:
1515
* Provide an external organization with permissions to a specific repository
1616
* Limit repository access to different user groups in your organization. For example, provide write and read access to developers who build images that target specific repositories, and read access to teams that deploy from those repositories.
1717

18+
This feature is available in **Premium** container registries. For information about registry service tiers and limits, see [Azure Container Registry service tiers](container-registry-skus.md).
19+
1820
> [!IMPORTANT]
1921
> This feature is currently in preview, and some [limitations apply](#preview-limitations). Previews are made available to you on the condition that you agree to the [supplemental terms of use][terms-of-use]. Some aspects of this feature may change prior to general availability (GA).
2022
2123
## Preview limitations
2224

23-
* This feature is available in **Premium** container registries. For information about registry service tiers and limits, see [Azure Container Registry service tiers](container-registry-skus.md).
2425
* You can't currently assign repository-scoped permissions to an Azure Active Directory identity, such as a service principal or managed identity.
2526
* You can't create a scope map in a registry enabled for [anonymous pull access](container-registry-faq.md#how-do-i-enable-anonymous-pull-access).
2627

@@ -145,13 +146,15 @@ The following example creates a token, and creates a scope map with the followin
145146

146147
1. In the portal, navigate to your container registry.
147148
1. Under **Repository permissions**, select **Tokens (Preview) > +Add**.
148-
![Create token in portal](media/container-registry-repository-scoped-permissions/portal-token-add.png)
149+
150+
:::image type="content" source="media/container-registry-repository-scoped-permissions/portal-token-add.png" alt-text="Create token in portal":::
149151
1. Enter a token name.
150152
1. Under **Scope map**, select **Create new**.
151153
1. Configure the scope map:
152154
1. Enter a name and description for the scope map.
153155
1. Under **Repositories**, enter `samples/hello-world`, and under **Permissions**, select `content/read` and `content/write`. Then select **+Add**.
154-
![Create scope map in portal](media/container-registry-repository-scoped-permissions/portal-scope-map-add.png)
156+
157+
:::image type="content" source="media/container-registry-repository-scoped-permissions/portal-scope-map-add.png" alt-text="Create scope map in portal":::
155158

156159
1. After adding repositories and permissions, select **Add** to add the scope map.
157160
1. Accept the default token **Status** of **Enabled** and then select **Create**.
@@ -168,7 +171,7 @@ To use a token created in the portal, you must generate a password. You can gene
168171
1. In the password screen, optionally set an expiration date for the password, and select **Generate**. It's recommended to set an expiration date.
169172
1. After generating a password, copy and save it to a safe location. You can't retrieve a generated password after closing the screen, but you can generate a new one.
170173

171-
![Create token password in portal](media/container-registry-repository-scoped-permissions/portal-token-password.png)
174+
:::image type="content" source="media/container-registry-repository-scoped-permissions/portal-token-password.png" alt-text="Create token password in portal":::
172175

173176
## Authenticate with token
174177

0 commit comments

Comments
 (0)
Please sign in to comment.