Summary
Amazon API Gateway requires that you authenticate every request you send by signing the request, which involves calculating a digital signature using a cryptographic hash function and your secret access key.
1
Additionally, HTTP Basic Authentication is a secure way to protect API Gateway endpoints from the outside world, which requires creating a Custom Authorizer in API Gateway and hooking it up with the endpoints, and then using the Serverless Framework to verify the credentials.
2
According to