Kullanıcıma AmazonEC2ContainerRegistryFullAccess
politikasını vererek kullanıcı için ECR yetkilendirmesini ayarlama konusunda AWS yönergelerini izlemeyi denedim.AWS ECR GetAuthorizationToken
Ancak, PC'imde aws ecr get-login
çalıştırmaya çalıştığımda, iznim olmadığı bir hatayla karşılaşıyorum.
An error occurred (AccessDeniedException) when calling the GetAuthorizationToken operation: User: arn:aws:iam::ACCOUNT_NUMBER:user/MY_USER is not authorized to perform: ecr:GetAuthorizationToken on resource: *
Neyi yanlış yaptım?
aws get-session-jetonu, MFA'dan bir jeton alabilir - http://docs.aws.amazon.com/cli/latest/reference/sts/get-session-token.html –