s="large-icon"><use xlink:href="/v1.2/img/icons.svg#callout-tip"/></svg></div><div class=content>Download the <a href=https://pypi.org/project/jwcrypto>jwcrypto</a> library,
if you haven&rsquo;t installed it on your system.</div></aside></div><p>For example, the command below creates a token that
expires in 5 seconds. As you see, Istio authenticates requests using that token successfully at first but rejects them after 5 seconds:</p><pre><code class=language-bash data-expandlinks=true>$ TOKEN=$(./gen-jwt.py