首页 文章

如何从AWS Lambda调用AWS_IAM授权的API网关 endpoints ,其执行角色是否有权这样做?

提问于
浏览
4

我想调用一个AWS API Gateway endpoints ,该 endpoints 的执行AWS Lambda具有授权设置为AWS_IAM,执行角色有权执行该API网关 .

enter image description here

Is there anyway for me to sign the HTTPS request to API Gateway using the current execution role of my Lambda?

编辑:

查看http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html,我可以使用SDK调用AssumeRole来承担有权执行Api Gateway的角色,然后提取可用于签署请求的密钥 .

1 回答

相关问题