yuvipanda / hubtraf

Traffic simulator for JupyterHub
BSD 3-Clause "New" or "Revised" License
40 stars 24 forks source link

Get the api token from an env var #27

Closed GeorgianaElena closed 4 years ago

GeorgianaElena commented 4 years ago

This allows passing to hubtraf-check the name of the env var holding the Hub api token. We could also assume its name (eg JUPYTERHUB_API_TOKEN) and read it directly.

@yuvipanda, WDYT? Does this need to be customizable?

yuvipanda commented 4 years ago

Thanks for the PR, @GeorgianaElena!