Enabling the API Key

As we described in Chapter 1Amazon Web Services for Serverless, regarding Zappa's deployment workflow, where Zappa configures the API Gateway to invoke the AWS Lambda with a proxy pass mechanism, this creates an API on the API Gateway interface. Each API supports various stages. In our case, we have created a dev stage while deploying the application. Therefore, the following screenshot shows the state of the API Gateway console:

API Gateway supports API keys mechanisms, where you can create an API key along with a usage plan. With the help of this API key, you can restrict access for your customers. Any customer can ...

Get Building Serverless Python Web Services with Zappa now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.