本文介绍了将AWS IAM用户添加到AWS Cognito Pool的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是AWS的新手,正在构建一个应通过AWS帐户登录用户的应用程序。

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

因此,我创建了一个用户池,并使用联合身份通过AWS开发工具包进行了身份验证。但是用户是在Cognito UI中手动创建的,但要求是对已作为IAM用户驻留在AWS中的用户进行身份验证。但是,AWS cognito没有提供将IAM用户导入到cognito池的工作流。那么还有另一种方法可以通过AWS来完成此任务吗?

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.

推荐答案

当前无法实现。尽管AWS Cognito联合身份允许联合外部身份提供商以授予AWS访问权限,但其他方法是不可能的。

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.

此外,AWS IAM中没有方法用于验证AWS Username和Password的SDK,这也限制了通过您自己的实现对其进行验证。

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.

这篇关于将AWS IAM用户添加到AWS Cognito Pool的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 18:57