AWS 2018 - By Service Section - FAQs > AWS CodeCommit | Regions > Flashcards
Can I enable cross-account access to my repository?
Regions
AWS CodeCommit | Developer Tools
Yes. You can create an IAM role in your AWS account to delegate access to a repository to IAM users in other AWS accounts. The IAM users can then configure their AWS CLI to use AWS Security Token Service (STS) and assume the role when running commands. For details see Assuming a Role in the AWS CLI documentation.