Skip to content

nochtap/serverless-plugin-api-gateway-auth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

serverless-plugin-api-gateway-auth

Serverless plugin supporting AWS_IAM authorizer on API Gateway method

Adds the ability to configure AWS_IAM for your API Gateway endpoints, and "Invoke with caller credentials"

Usage

register plugin:

plugins:
  - serverless-plugin-api-gateway-auth

enable IAM authentication:

    myFuncGetItem:
      handler: myFunc.get
      name: ${self:provider.stage}-myFunc-get-item
      memorySize: 128
      events:
        - http:
            method: GET
            path: mypath
            cors: true
            useIAMAuth: true
            invokeWithCallerCredentials: true

About

Serverless plugin supporting AWS_IAM authorizer on API Gateway method

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%