Hi Team,
I want to generate an auth token after installing Jupyterhub with admin user using cli or API on Ubuntu. I don’t want to use an option from UI.
Any pointers for the above would appreciated.
Thanks
Hi Team,
I want to generate an auth token after installing Jupyterhub with admin user using cli or API on Ubuntu. I don’t want to use an option from UI.
Any pointers for the above would appreciated.
Thanks
There are two choices for generating tokens:
jupyterhub token username
to issue a token for a user on stdout, oropenssl rand -hex 32
) and load them into jupyterhub from configurationDepending on what you’re doing, usually we recommend associating tokens with services rather than users. In practice, a ‘service’ is often really a named token with its own permissions.