如何对 Lambda 函数进行身份验证以访问 Django 端点?

发布于 2025-01-17 13:37:42 字数 332 浏览 0 评论 0原文

注意: this 问题似乎是相同的,但实际问题尚未提出答案,而op and是OP最终改变了他的整个方法。

假设我有一些基于lambda的应用程序,我想让访问我的Django应用程序。我如何验证它?

我可以将lambda函数提供一个用户名/密码,但这在长期安全环境中远非理想。

有没有办法直接在Django中验证lambda功能?另外,是否可以使用更好的安全实践(即秘密轮换)来做到这一点?

Note: This question appears to be identical, but actual problem asked is unanswered and the OP ends up changing his entire approach.

Suppose I have some lambda-based application that I want to let access my Django application. How do I authenticate it?

I could just give the lambda function a username/password, but that's far from ideal in a long term security context.

Is there a way to directly authenticate a lambda function in django? Alternatively, are there better security practices that could be employed (i.e. secret rotation) so that this can be done?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文