moonming commented on pull request #2230:
URL: https://github.com/apache/apisix/pull/2230#issuecomment-692518089


   why `******` is invalid? Is this hard-coded in the code?
   
   Thanks,
   Ming Wen
   Twitter: _WenMing
   
   
   YuanSheng Wang <notificati...@github.com> 于2020年9月15日周二 下午3:15写道:
   
   > YOUR_OWN_API_TOKEN
   >
   > that is a bad name, because of the YOUR_OWN_API_TOKEN is a valid Admin
   > API key.
   >
   > the ****** is a invalid Admin API key.
   >
   > valid config.yaml
   >
   > apisix:
   >     admin_key:
   >         -
   >             name: "admin"
   >             key:   YOUR_OWN_API_TOKEN         # set your Admin API Key
   >             role: admin
   >
   > invalid config.yaml
   >
   > apisix:
   >     admin_key:
   >         -
   >             name: "admin"
   >             key:   ******         # set your Admin API Key
   >             role: admin
   >
   > —
   > You are receiving this because you commented.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/apisix/pull/2230#issuecomment-692516876>, or
   > unsubscribe
   > 
<https://github.com/notifications/unsubscribe-auth/AGJZBK6ADQDUQTKZTXUDE4TSF4H7JANCNFSM4RMUDT4Q>
   > .
   >
   


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to