简体   繁体   English

AWS联合登录名

[英]AWS federated login name

1) I was successfully able to create a federated login using ADFS, Shibboleth, cognito and Auth0. 1)我能够使用ADFS,Shibboleth,cognito和Auth0成功创建联合登录。 In all the identity providers I used the login name shows the IAM role/ Username like the following screenshot 在我使用的所有身份提供者中,登录名都显示了IAM角色/用户名,如以下屏幕截图所示

screenshot1 screenshot1

While the aim is to show only the username like the following screenshots: 目的是仅显示用户名,如以下屏幕截图所示:

screenshot2 screenshot2

how can I managed to remove the IAM role so it shows only the username like the 2nd screenshot. 如何设法删除IAM角色,使其仅显示用户名(如第二个屏幕截图)。

AWS uses RoleSessionName attribute for the username shown. AWS使用RoleSessionName属性作为显示的用户名。 so in your samlResponse you can send this attribute and AWS service provider will pick it up. 因此,您可以在samlResponse中发送此属性,AWS服务提供商将选择它。

you can check the list of attributes used by AWS in their saml metadata file : https://signin.aws.amazon.com/static/saml-metadata.xml 您可以在其saml元数据文件中查看AWS使用的属性列表: https : //signin.aws.amazon.com/static/saml-metadata.xml

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM