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 Risposta
1
Risposta accettata
AWS
SergioA
con risposta un anno fa
profile picture
ESPERTO
verificato un mese fa
  • 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

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande