birdcatcher / serverless-oauth-scopes

creates a api key and usage pattern (if they don't already exist) and associates then to the Rest Api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

serverless-oauth-scopes

serverless

A serverless plugin to set OAuth Scopes on APIGateway methods.

Install

npm install --save-dev serverless-oauth-scopes

Add the plugin to your serverless.yml file:

plugins:
  - serverless-oauth-scopes

Configuration

http:
  scopes: [<array of scope string>]

About

creates a api key and usage pattern (if they don't already exist) and associates then to the Rest Api

License:Apache License 2.0


Languages

Language:JavaScript 100.0%