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

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

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

回答问题的准则