GuidesAPI Reference
Log In
Guides

Azure Container Registry (ACR)

Connect a new Registry

  1. Go to your Azure Container Registry, and in the side bar expand "Repository Permissions" and click "Tokens".
  1. Click the "+ Add" button in the top left:

  1. Give the Token a name, and then click "Create new scope map"

  1. Give the new scope a name.
    1. From the "Permissions" drop down, select content/read and metadata/read.
      In the "Repository" field, you can provide a wildcard * to grant Prodvana permission to read all repositories in your registry, or you can select specific repositories.
    2. Then click "Create" at the bottom of the page.
  1. Then on the "Create token" screen, ensure the new "Scope map" is selected from the dropdown, and click the "Create" button.

  1. From the list of tokens, click the name of the token you just created.
  2. From the side bar, click the "Generate" button next on the `password1" row:

  1. Click the "Generate" button at the bottom of the page. And then "Yes" when the confirmation dialog appears.
  2. Azure will now show you the password, make sure to copy it to a secure place.

  1. Now to link the registry in Prodvana:
  • Go to your organization's integration page (https://<org>.prodvana.io/integrations) and select "Container Registries".
  • Click the "Add Registry" button, and select "Other registries" from the dropdown.

  • In the pop-up form, fill in the values:
    • Name: The name Prodvana will use to reference this registry
    • Username: Use the name you gave your token, "ProdvanaReadOnly" in our example
    • Password: Paste the password1 you generated earlier
    • Hostname: the hostname will be https://<name-of-the-registry>.azurecr.io (you can also find this value on the "Overview" page of the Container Registry.
    • Click "Save"

See Also

https://learn.microsoft.com/en-us/azure/container-registry/container-registry-repository-scoped-permissions