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.

已提问 1 年前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
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则