(kubectl get secret ${SECRET_NAME} -n ${NAMESPACE} -o jsonpath=&#34;{.data[&#39;ca\.crt&#39;]}&#34;)
$ TOKEN=$(kubectl get secret ${SECRET_NAME} -n ${NAMESPACE} -o jsonpath=&#34;{.data[&#39;token&#39;]}&#34; | base64 --decode)
</code></pre><div><aside class="callout tip"><div class=type><svg class="large-icon"><use xlink:href="/v1.4/img/icons.svg#callout-tip"/></svg></div><div class=content>An alternative to <code>base64 --decode</code> is <code>openssl enc -d -base64 -A</code> on many systems.</div></aside