简体   繁体   English

AWS Cognito是否必须具有未经身份验证的角色?

[英]Is Unauthenticated role mandatory for AWS Cognito?

The web UI on AWS Cognito kept telling me to create an Unauthenticated role. AWS Cognito上的Web UI一直告诉我创建一个未经身份验证的角色。 I do not want any user to use the app without logging in so do I need to create an Unauthenticated role? 我不希望任何用户不登录就使用该应用程序,那么我需要创建一个未经身份验证的角色吗?

Cognito will automatically create the roles for you when you create the identity pool, but if you have unauthenticated users unchecked, you can ignore it after that, or even delete it. 创建身份池时,Cognito会自动为您创建角色,但是如果您未选中未经身份验证的用户,则此后可以忽略它,甚至将其删除。 It won't be used if you only allow authenticated users. 如果您只允许通过身份验证的用户,则不会使用它。

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

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