Is there a way to tag the roles that are created by the IAM identity centre

0

Is there a way to tag the roles that are created by the IAM identity centre. If not any ideas on how to implement abac currently we are using the principal tag and we can’t use the tagging as the IAM roles created by the identity centre won’t have any tags associated with it

1개 답변
0

Are you using an external identity provider or the built-in one? Typically the "attributes" are passed by the identity provider. See https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_abac-saml.html. It'd be something similar if you are using an OIDC IdP.

Check this out to configure the attributes on Identity Center.

There are two ways to use attributes for ABAC:

  1. You can configure your IdP to send the attributes through SAML assertions.
  2. You can configure which attributes you use from the Attributes for access control page in the IAM Identity Center console.

If you use an external identity provider (IdP) as an identity source and choose to send attributes through the SAML assertions, you configure your IdP to pass the attributes. You cannot view attributes configured and sent by an external IdP from the Attributes for access control page in the IAM Identity Center console. When you use the ABAC tutorial for SAML, you must perform additional steps to create the role, configure the SAML IdP, and enable AWS Management Console access, see Step 3: Create roles.

If you are using a SAML-based IdP and would like to use session tags for ABAC. This tutorial will guide you through using SAML session tags for ABAC.

I also recommend reading this documentation as there are certain things about session tags that you should be aware of if you plan on using them.

Let me know if you have any other questions.

AWS
답변함 7달 전
profile pictureAWS
전문가
검토됨 7달 전

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

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

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

관련 콘텐츠