-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
contributors/good-first-issueGood first issue for a contributorGood first issue for a contributorpriority/2-importanttype/feature
Description
Based on the RFC #781, we need to implement the AWS_IAM Authorizers feature.
Requirements:
- Implement Transform
- Add tests
- Add example(s)
Some code areas to get started for any interested contributors:
- Add
InvokeRole
as a valid property ofAuth
https://github.com/awslabs/serverless-application-model/blob/master/samtranslator/model/api/api_generator.py#L20 - Add an exception for
AWS_IAM
DefaultAuthorizer
here https://github.com/awslabs/serverless-application-model/blob/master/samtranslator/model/api/api_generator.py#L321 - Ensure this section is working and only a single sigv4 security definition gets added https://github.com/awslabs/serverless-application-model/blob/master/samtranslator/swagger/swagger.py#L343
- Add 'sigv4' to
securityDefinitions
if it's defined as DefaultAuthorizer or if it is specified on any of the Methods https://github.com/awslabs/serverless-application-model/blob/master/samtranslator/swagger/swagger.py#L289 - Update Integration with credentials https://github.com/awslabs/serverless-application-model/blob/master/samtranslator/swagger/swagger.py#L101
marcy-terui, horike37, ykarakita, kakura, tsuzy and 2 moremarakere, marcy-terui, horike37, tsuzy and keni-chi
Metadata
Metadata
Assignees
Labels
contributors/good-first-issueGood first issue for a contributorGood first issue for a contributorpriority/2-importanttype/feature