/serverless-oauth-scopes

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

Primary LanguageJavaScriptApache License 2.0Apache-2.0

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>]