But now i want to authenticate the container registry with Token (previews) see below images - username - MyToken password - password [provided in the image]. [ basic auth ]
But here i am getting error -
{
"errors": [
{
"code": "UNAUTHORIZED",
"message": "authentication required, visit https://aka.ms/acr/authorization for more information.",
"detail": null
}
]
}
can someone help me authenticating azure ECR container registry without admin access keys. I mean by user Tokens(Preview) with provided with scope map.
CodePudding user response:
We have tested this in our local environment, Below statements are based on our analysis.
In our local environment, we have created a token for ACR repository & tried accessing the repository using the HTTP post request from Postman. It got failed with an error unauthorized(irrespective of whether admin mode is enabled or disabled on ACR) as shown in the below image.