claudiajs / claudia

Deploy Node.js projects to AWS Lambda and API Gateway easily
https://claudiajs.com
MIT License
3.8k stars 276 forks source link

Proxy APIs and IAM authentication #171

Closed csepulv closed 5 years ago

csepulv commented 5 years ago

I'd like to use a proxy API as described in https://claudiajs.com/tutorials/deploying-proxy-api.html.

However, I don't see a way to require IAM authentication, as I would with an API router method, like authorizationType: 'AWS_IAM'. (https://github.com/claudiajs/claudia-api-builder/blob/master/docs/authorization.md)

Is there a way to do this with the --deploy-proxy-api? I can manually update on AWS, but I prefer to use Claudia to manage the deployment/config.

gojko commented 5 years ago

please use the chat channel for questions (https://gitter.im/claudiajs/claudia), we keep github issues for bugs only