IAM identity center in policy variables

0

Hi,

Is there a way to obtain a username of a user that's loging in with Identity Center?

I want to implement this same thing that works fine with regular IAM users.

Thanks!

1 個回答
1
已接受的答案
AWS
SergioA
已回答 1 年前
profile picture
專家
已審閱 1 個月前
  • Hi Sergio,

    The one that works is second one: role-id:username (not Display name), the first one, using account-id does not work.

    Thanks for your help

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

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

回答問題指南