Ask Your Question
4

The AWS ECR user does not have the appropriate authorization to execute the ecr-public:GetAuthorizationToken action for the resource (*).

asked 2023-06-25 09:51:00 +0000

nofretete gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-06-25 09:52:02 +0000

huitzilopochtli gravatar image

This error message suggests that the AWS ECR user attempting to execute the ecr-public:GetAuthorizationToken action does not have the necessary permissions to perform this action on the specified resource (*).

To resolve this issue, the AWS account administrator or IAM user with sufficient permissions will need to grant the required permissions to the AWS ECR user.

This can be done by creating an IAM policy that includes the necessary permissions and attaching it to the user's IAM role. The policy should include permissions for the ecr-public:GetAuthorizationToken action on the specific resource(s) that the user needs access to.

Alternatively, the administrator can modify an existing policy that the user is already attached to and add the missing permissions.

Once the user has been granted the appropriate permissions, they should be able to successfully execute the ecr-public:GetAuthorizationToken action.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-25 09:51:00 +0000

Seen: 8 times

Last updated: Jun 25 '23