Expand description
API Key authorization scheme is used ONLY by internal endpoints.
Its purpose is to prevent their use externally, if they were accidentally exposed.
It is NOT to be used on any endpoint intended to be publicly facing.
Structsยง
ApiKey
authorization for Internal Endpoints
Constantsยง
- API_
KEY_ ๐HEADER The header name that holds the API Key
Functionsยง
- api_
checker ๐Check the provided API Key matches the API Key defined by for the deployment. - check_
api_ ๐key Check if the API Key is correctly set. Returns an error if it is not.