Skip to content

Commit

Permalink
serverless-operations#566: Nest apiKeys under apiGateway property in …
Browse files Browse the repository at this point in the history
…readme
  • Loading branch information
tvhees committed May 2, 2023
1 parent baf6764 commit 6ef78f0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -887,10 +887,11 @@ Here's an example configuration for setting API keys for your service Rest API:
service: my-service
provider:
name: aws
apiKeys:
- myFirstKey
- ${opt:stage}-myFirstKey
- ${env:MY_API_KEY} # you can hide it in a serverless variable
apiGateway:
apiKeys:
- myFirstKey
- ${opt:stage}-myFirstKey
- ${env:MY_API_KEY} # you can hide it in a serverless variable
usagePlan:
quota:
limit: 5000
Expand Down

0 comments on commit 6ef78f0

Please sign in to comment.