gridscale authentication plugin for HTTPie.
httpie plugins install httpie-gridscale-author
pip install --upgrade httpie-gridscale-authYou should now see httpie-gridscale-auth when running httpie plugins list.
The syntax and behavior is the same as with the basic auth.
http --auth-type gs --auth USERID:TOKEN https://api.gridscale.io/objects/locationsThe names are identical to what gscloud and other gridscale tools use, so you
might be already good to go.
export GRIDSCALE_UUID="<USERID>"
export GRIDSCALE_TOKEN="<TOKEN>"
http -A gs https://api.gridscale.io/objects/locationsThe plugin uses the configuration that gscloud and other gridscale tools use,
so you might be already good to go.
http --auth-type gs https://api.gridscale.io/objects/locationsIt will use the project named "default" until you specify a project name or gridscale userId like this:
http --auth-type gs --auth <NAME|USERID> https://api.gridscale.io/objects/locations