In order to use some advanced Hakiri functionality that requires Hakiri Toolbelt and the API you’ll have to get an authentication token. Here are three simple steps that describe how to generate an authentication token properly.
First of all, connect with GitHub to get an account on Hakiri.
Then go to your account settings, generate an authentication token, and copy it. The token will disappear on the next page refresh because we keep it hashed in the DB for security reasons.
Lastly setup your authentication token (
HAKIRI_AUTH_TOKEN) as an environmental variable in your shell:
$ echo 'export HAKIRI_AUTH_TOKEN="your auth token"' >> ~/.bash_profile
Ubuntu note: Modify your
~/.profile instead of
Zsh note: Modify your
~/.zshrc file instead of
You can always reset your authentication token in your account settings. Don’t forget to change the environmental variable after you do it.