<p>If its of any help to you, this is what i used to get the token.</p>
<p> curl -X GET -k -H "X-Storage-User: username" -H "X-Storage-Pass: secret" <a href="https://127.0.0.1:443/auth/v1.0/">https://127.0.0.1:443/auth/v1.0/</a> -D - && echo</p>
<p>Username will be in the form of: "account:username" where account is the volume name on which you created the username (v1 in the documentation).</p>
<p>Best regards,<br>
Gabriel</p>