serverless-add-api-key icon indicating copy to clipboard operation
serverless-add-api-key copied to clipboard

API Keys were created but requiring them to your APIs is still not enabled.

Open ajcatambay opened this issue 3 years ago • 1 comments

So this plugin just creates the API Keys and associate these keys to usage plans, but not necessarily enable requiring the API Keys on the different API endpoints? Is that right?

I tried installing this plugin and it generated an API Key, but I am still able to proceed and get a successful response from my APIs even without passing an API key in the header.

ajcatambay avatar Feb 24 '22 02:02 ajcatambay

Did you set your private: true on your endpoints in the serverless.yaml?

Look at here, specifically at API Gateway v1 REST API to see that option.

waggonerjake avatar Jan 13 '23 15:01 waggonerjake