title: How to pass token to NATS server using nats-pub.py script
body: <p>I am new in NATS.<br />
  Please can you provide how to pass token to NATS server using nats-pub.py script.<br />
  <code>python /tmp/nats-pub.py --creds ? -s nats://eventbus-default-stan-svc:4222 {label} -d '{json}'</code><br />
  I can get NATS access configuration</p>
  <pre><code>&quot;config&quot;: {
      &quot;nats&quot;: {
          &quot;accessSecret&quot;: {
              &quot;key&quot;: &quot;client-auth&quot;,
              &quot;name&quot;: &quot;eventbus-default-client&quot;
          },
          &quot;auth&quot;: &quot;token&quot;,
          &quot;clusterID&quot;: &quot;eventbus-default&quot;,
          &quot;url&quot;: &quot;nats://eventbus-default-stan-svc:4222&quot;
      }
  }
  </code></pre>
  <p>How to configure request to pass authorization because now I get <code>Error: nats: 'Authorization Violation'.</code></p>