New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
randomly generated API key is not displayed if no API key is defined #832
Comments
hey @christophgysin thanks for opening this issue. I'm unfamiliar with private endpoints, nonetheless, it seems that private endpoints don't require api keys. |
Setting |
thank you for the link @christophgysin ! I'll have a look into your issue and the PR soon. |
PR merged. closing. |
Currently, serverless-offline checks if there is a
apiKeys:
section to decide if the randomly generated API key should be logged.If we have a service that defines http events as
private: true
, but not defineapiKeys
, the generated API key is not logged.One workaround is to define an empty list of
apiKeys
:A better solution would be to check if there are any http events with
private: true
.The text was updated successfully, but these errors were encountered: