0.0.24 • Published 4 years ago

serverless-easy-usage-plan-key v0.0.24

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

serverless-easy-usage-plan-key

If you already have an api key when you use the cloudformation resource to create an api usage plan, you can create a usage plan key with the api key name and associate it with the api usage plan.

Install

install package

$ npm i serverless-easy-usage-plan-key --save

add the plugin to serverless.yml

# serverless.yml

plugins:
  - serverless-easy-usage-plan-key

Setup

UsagePlanKey:
    Type: AWS::ApiGateway::UsagePlanKey
    Properties:
        KeyName: my-api-key-name
        KeyType: API_KEY

If you have a resource of type AWS::ApiGateway::UsagePlanKey in Resources in the Serverless template, look for {resourceName}.Properties.KeyName to look up the API key information. If API key exists, get the API key id and put the value in {resourceName}.Properties.KeyId.

0.0.24

4 years ago

0.0.23

4 years ago

0.0.22

4 years ago

0.0.21

5 years ago

0.0.20

5 years ago

0.0.19

5 years ago

0.0.18

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago