2 Answers
- Newest
- Most votes
- Most comments
0
I solved it. I was trying to get access to codeartifact repo from EC2 without login(aws configure). I assigned a Access keys to a user account and then tried it again after login, it worked.
answered 2 years ago
0
The permission below is also given to a user on IAM Identity Center
{ "Version": "2012-10-17", "Statement": [ { "Action": [ "codeartifact:" ], "Effect": "Allow", "Resource": "" }, { "Effect": "Allow", "Action": "sts:GetServiceBearerToken", "Resource": "*", "Condition": { "StringEquals": { "sts:AWSServiceName": "codeartifact.amazonaws.com" } } } ] }
answered 2 years ago
Relevant content
- asked 2 years ago
- asked 4 years ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago