How to give Application access to IAM Identity Center users

0

I want to give access to CodeCommit. I have created a user and group within IAM Identity Center users. There is no place to give access to this user. Please suggest!

profile picture
已提問 4 個月前檢視次數 204 次
2 個答案
1

CodeCommit access is managed through IAM policies, more specifically so called Identity-based policies (see IAM policy overview). These policies allows a user to call the CodeCommit APIs.

In the context of the Identity Center, these policies exist in so called Permission Sets, which can have inline-policies, customer managed policies and AWS managed policies attached to them.

When granting permission to a user or group, you assign them to an AWS account and select a permission set that has the required policy documents, which in your case for example allows them to call the CodeCommit APIs in the specified AWS account. See the Assign user access section in our docs.

This in turn creates a corresponding IAM role in the target account with the policy documents. Your user can then assume this role through the Identity Center login portal (you can find the link for that in the Identity Center settings -> Identity source tab -> "AWS access portal URL") or the aws cli.

Once the user has assumed the role through the Identity Center, they can interact with CodeCommit by navigating to it in the AWS console or call the APIs directly by using the cli.

profile pictureAWS
Martin
已回答 4 個月前
profile picture
專家
已審閱 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南