The JWT token that is generated is used for authentication to call the REST
APIs.
Procedure
Generate a token in the https://jwt.io/ website by
using the following steps:
- Select the algorithm RS256 from the Algorithm drop-down menu.
- Enter the header and the payload. For more information, see the header and payload format.
- Download the private key from the /home/vol/privatekey.pem drop
server.
- Enter the downloaded private key in the Private Key field of the
Verify Signature section. Ensure that you have removed the public certificate
from the Public Key or Certificate field, if the certificate exists.
A token is generated in the Encoded section. Copy this token on your system
for further use.
Results
This
token can be used to call the REST APIs.