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 10 months 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 10 months ago
Relevant content
- asked 2 years ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- I tried to delete my ACM certificate but received an error that it's in use with other AWS resourcesAWS OFFICIALUpdated a year ago
- How do I troubleshoot the errors I get when I use AWS CloudFormation to create Route 53 record sets?AWS OFFICIALUpdated 3 months ago