How am user from Cognito user pool can access a CodeCommit repository?

0

Hello, I have created a Cognito user pool with an identity pool, Identity pool has two attached IAM roles auth and unauth, auth has an IAM policy, which gives all Cognito permission as well as all CodeCommit permissions as well. Now when I add a user to the Cognito user pool, how that user can have access to a particular CodeCommit repository? Thanks in advance.

질문됨 일 년 전386회 조회
1개 답변
1

When you create/configure the Code Commit repository, you have the options to setup and use HTTPS/SSH/HTTPS(GRC). The steps to connect to the respiratory are available in the code commit console for the type of connection you want to support.

The user would then need the link to the repository and the correctly configured git client to connect to the repository and perform their git commands. The link is available via the console by clicking the "clone URL" in the top right of the repository.

But as a side note, giving someone permission to access your code commit repository does not give them access to the console to get the clone URLs. So they would either need the access or you would have to provide them that information through another mechanism.

profile pictureAWS
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인