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 Antwort
1
Akzeptierte Antwort
AWS
SergioA
beantwortet vor einem Jahr
profile picture
EXPERTE
überprüft vor einem Monat
  • 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

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen