Lambda Secure Serverless Services - [ Beta ]
$ npm install serverless-secure -D
plugins: [
....,
'serverless-secure',
],
$ serverless secure
or
$ sls secure -p <route-path>
***Adds Secure Layer:***
# secureAuthorizer: {
# handler: "secure_layer/handler.secureAuthorizer
# }
***..to desired route:***
# hello: {
# handler: 'handler.hello',
# events: [
# {
# http: {
# method: 'get',
# path: 'hello',
# cors: '${self:custom.corsValue}',
# authorizer: 'secureAuthorizer'
# }
# }
# ]
# }
$ npm run test
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
Give a βοΈ if this project helped you!
Copyright Β© 2020 Serverless-Secure Software Publishing House.
This project is MIT licensed.