From 6ef78f0ad855701b0b94e3003825dcba64d87faf Mon Sep 17 00:00:00 2001 From: Torbjorn van Heeswijck Date: Tue, 2 May 2023 17:24:12 +0930 Subject: [PATCH] #566: Nest apiKeys under apiGateway property in readme --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c421310e..968a20b9 100644 --- a/README.md +++ b/README.md @@ -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