2017-05-11 4 views
0

Hier ist meine Registrierungspolitik für meine Benutzer:ecr Token Fehler für amazon aws Docker Registry

{ 
    "Version": "2012-10-17", 
    "Statement": [ 
     { 
      "Sid": "Stmt1494526914000", 
      "Effect": "Allow", 
      "Action": [ 
       "ecr:GetAuthorizationToken" 
      ], 
      "Resource": [ 
       "*" 
      ] 
     } 
    ] 
} 

Ich habe keine MFA Auth

aber wenn ich versuche:

[email protected]:~/Workspace/*****$ aws ecr get-login 

An error occurred (AccessDeniedException) when calling the GetAuthorizationToken operation: User: arn:aws:iam::*******:user/bussiere is not authorized to perform: ecr:GetAuthorizationToken on resource: * 
[email protected]:~/Workspace/*****$ 

enter image description here

enter image description here

vielen Dank und Grüße

Antwort

Verwandte Themen