Add AWS IAM users to AWS Cognito Pool

杀马特。学长 韩版系。学妹 提交于 2020-01-06 07:20:35

问题


I'm a newbie to AWS, I'm building an application where the users should be logged in via AWS account.

So I created a user pool and authenticated via AWS SDK using the federated identities. But the users were created manually in the Cognito UI.But the requirement is to authenticate the user if they already resides in AWS as an IAM user. But AWS cognito does not provide a workflow to import the IAM users to cognito pool. So is there another way to accomplish this via AWS ? Thanks in Advance.


回答1:


This is currently not possible. Although AWS Cognito Federated Identities allows, federating an external identity provider to grant AWS access, the other way around is not possible.

In addition, there is no method in AWS IAM SDK to verify AWS Username and Password, which also limits verifying them through your own implementation.



来源:https://stackoverflow.com/questions/49550733/add-aws-iam-users-to-aws-cognito-pool

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!