When I enable API Key Authentication, the API is authenticated as expected. Unfortunately, the docs are also authenticated. Since I can't (without extensions) add the API key to the header for my browser, I can't see the docs.
Expected Behavior
I should be able to browse docs without an API key.
Actual Behavior
Everything is authenticated including the docs.
Possible Fix
If this is intended, add an option to authenticate (or not) documentation.
Steps to Reproduce
Create a project with api_key_required = true
Deploy project
Browse to the API Gateway URL for documentation using any web browser without special settings to change header.
Receive "Forbidden" response.
Your Environment
Zappa version used: 0.46.2
Operating System and Python version: Windows 10 x64, Python 3.6.5
Context
When I enable API Key Authentication, the API is authenticated as expected. Unfortunately, the docs are also authenticated. Since I can't (without extensions) add the API key to the header for my browser, I can't see the docs.
Expected Behavior
I should be able to browse docs without an API key.
Actual Behavior
Everything is authenticated including the docs.
Possible Fix
If this is intended, add an option to authenticate (or not) documentation.
Steps to Reproduce
api_key_required
= trueYour Environment
pip freeze
:zappa_settings.py
: