Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
370 views
in Technique[技术] by (71.8m points)

amazon web services - Get Email and Password for AWS Post Confirmation Lambda

After a user confirms their email, we want to run a Post Confirmation Lambda in AWS.

This lambda will store the user's email and password to a database that is separate from Cognito, so we need to fetch these credentials from AWS.

We believe it should be possible from the event object, but we can't find anything about this in the official documentation.

Is it possible to fetch a user's email and password from AWS from within a Post Confirmation Lambda?

question from:https://stackoverflow.com/questions/65885205/get-email-and-password-for-aws-post-confirmation-lambda

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

After inspecting vars(context) and event, it seems that it is impossible to get a user's password from within the post confirmation lambda itself, as these objects do not contain it.

Thanks to everyone who helped.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...