怎么做-AWS Rest API身份验证 [英] How to - AWS Rest API Authentication

查看:195
本文介绍了怎么做-AWS Rest API身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用AWS API Gateway,Lambda和DynamoDB创建Rest API.

I'm trying to make a Rest API using AWS API Gateway, Lambda, and DynamoDB.

我将Java脚本用作lambda语言,并且已经成功创建了一些资源.但是,我不知道如何向我的IP发出经过身份验证的请求.

I'm using java-script as my lambda language, and I have successfully created some resources already. However, i don't understand how to make authenticated requests to my IP.

我想要简单的HTTP身份验证.

I want simple HTTP Authentication.

有人可以解释如何向API网关和Lambda发出经过身份验证的请求吗?

Can someone explain how to make authenticated requests to the API Gateway and Lambda?

推荐答案

在这里非常好 GitHub Lambda Http身份验证示例存储库.您可以遍历此示例.

Here is very Good GitHub Lambda Http Authentication Example Repository. You can walk through this example.

使用无服务器架构实施的示例身份验证服务,使用AWS Lambda托管和执行代码,并将Amazon DynamoDB作为持久性存储.这提供了可扩展且高度可用的经济高效的解决方案.

A sample authentication service implemented with a server-less architecture, using AWS Lambda to host and execute the code and Amazon DynamoDB as persistent storage. This provides a cost-efficient solution that is scalable and highly available.

这篇关于怎么做-AWS Rest API身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆