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