Tanker Server Token
Generate the server token used for the Tanker Server Authentification.
CLI usage
tanker-generate-server-token [options]
Usage:
- -h, --help Display help
- -v, --version Current version of the server token
- -c, --config Configuration file path
- --server-id Unique identifier of the server
- -o, --output Saves the token generated in a configuration file usable for tanker-httpd
Configuration file
The configuration file is a json file that can be downloaded from the Tanker dashboard, once when creating a Trustchain.
The server-id option can be omitted if a field with the serverId is added to the configuration file.
Example:
{
"trustchainId": "<b64 trustchain id>",
"trustchainPrivateKey": "<b64 trustchain private key>",
"serverId": "ExampleServer"
}