<div dir="ltr">Dear all,<div>I have configured Keystone for Barbican using this <a href="https://github.com/cloudkeep/barbican/wiki/Developer-Guide-for-Keystone">guide</a>.</div><div><br></div><div>Is there any news or patch about the need to use a shorter token? I would not use a modified token.</div>
<div><br></div><div>Following you can find an extract of the linked guide:</div><div><ul><li><span style="color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:15.333333015441895px;line-height:17px">(Optional) Typical keystone setup creates PKI tokens that are long, do not fit easily into curl requests without splitting into components. For testing purposes suggest updating the keystone database with a shorter token-id. (An alternative is to set up keystone to generate uuid tokens.) From the above output grad the token expiry value, referred to as "x-y-z"</span><br>
</li></ul><div class="" style="color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:15.333333015441895px;line-height:17px"><pre style="font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:13px;margin-top:15px;margin-bottom:15px;background-color:rgb(248,248,248);border:1px solid rgb(221,221,221);line-height:19px;overflow:auto;padding:6px 10px;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;word-wrap:normal">
<span class="">mysql</span> <span class="" style="font-weight:bold">-</span><span class="">u</span> <span class="">root</span>
<span class="">use</span> <span class="">keystone</span><span class="">;</span>
<span class="">update</span> <span class="">token</span> <span class="">set</span> <span class="">id</span><span class="" style="font-weight:bold">=</span><span class="" style="color:rgb(221,17,68)">"foo"</span> <span class="">where</span> <span class="">expires</span><span class="" style="font-weight:bold">=</span><span class="" style="color:rgb(221,17,68)">"x-y-z"</span> <span class="">;</span></pre>
</div></div><div><br></div><div>Thank you,</div><div>Giuseppe</div></div>