This can be closed as I have found by myself a solution to this.
How to build a Role claim using user group membership
Cristian Csiki
0
Reputation points
Hi,
I am trying to map the Azure user to an AWS role when the user does SSO. I can send 1 claim as:
Claim Name: Role
Namespace: https://aws.amazon.com/SAML/Attributes
Source attribute: arn:aws:iam::123456789:role/user/AWSRole/AWSRole,arn:aws:iam::123456789:saml-provider/AzurePOC
But in this case I only send the Role claim with 1 value to AWS. I need to send the Role claim as an array of attributes with all the group membership the user is assigned to, which either start with a constant or match a string. Ex:
Is there any way I can build this logic?
Thank you.
Microsoft Security | Microsoft Entra | Microsoft Entra ID
25,128 questions
Microsoft Security | Microsoft Entra | Other
2,597 questions