This package has been deprecated

Author message:

Deprecated version. Please migrate to package version >= 1.10.4

@tanker/server-token

1.8.0-alpha4 • Public • Published

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"
}

Readme

Keywords

none

Package Sidebar

Install

npm i @tanker/server-token

Weekly Downloads

1

Version

1.8.0-alpha4

License

UNLICENSED

Unpacked Size

291 kB

Total Files

6

Last publish

Collaborators

  • jmounier
  • maximerety
  • tankeradmin
  • quentin.vernot.tanker