glances icon indicating copy to clipboard operation
glances copied to clipboard

Is there anyway to configure an API token ?

Open navotera opened this issue 3 years ago • 3 comments

Thank you for very awesome Glances!

I apologize for asking this general question, I cannot find this on the RTFD. Any ideas about setting up some API KEY on glances API?

Thank you for any suggestions.

navotera avatar Jan 28 '22 06:01 navotera

Hi @navotera !

For the moment the Glances API only support basic login/password auth (shame on me...). I plan to implement an API Key oriented auth in Glances version 4.

Contributor are welcome :)

Nicolas

PS: dev should have a look on :

  • https://pypi.org/project/bottle-pyjwt/
  • https://github.com/agile4you/bottle-jwt

nicolargo avatar Jan 30 '22 08:01 nicolargo