You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/09/15 07:11:00 UTC

[GitHub] [apisix] membphis edited a comment on pull request #2230: bug: removed default access token for Admin API

membphis edited a comment on pull request #2230:
URL: https://github.com/apache/apisix/pull/2230#issuecomment-692513326


   > Users will encounter errors when running `apisix start`, and this experience is bad.
   
   I think it is good enough for now. We have told the user how to generate the Admin API key.
   
   ```shell
   ./bin/apisix init
   ERROR: missing valid apisix.admin_key
   
   You can call `./bin/apisix gen_admin_key` to generate a new Admin API key or
   manually update the `conf/config.yaml` file.
   ```
   
   If you prefer to automatically generate tokens, we can fix it with another new PR maybe.
   
   We need to discuss on the mailing list whether to automatically generate tokens for users when APISIX starts.
   
   The main purpose of this PR is to remove all default tokens. The current PR is already big. I hope this PR will merge as soon as possible instead of being blocked here.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org