1.2.1 • Published 2 years ago
@notabene/cli v1.2.1
Notabene CLI
Notabene CLI for managing tokens and keys.
Installation
Install the library globally using Yarn:
yarn global add @notabene/clior NPM:
npm i -g @notabene/cliMake sure that the path to globally installed packages are in your $PATH environment variable.
Tokens
Login
Login using your Notabene issued Client ID and Client Secret:
notabene auth:login --clientId={CLIENT_ID} --clientSecret={CLIENT_SECRET}Logout
Logout from Notabene:
notabene auth:logoutToken
Generate a M2M token for use with the Notabene Travel Rule gateway. Note you must be logged in first:
notabene auth:tokenKeys
Create a key
You can use the CLI to generate a key that can be used to encrypt PII information to be sent as part of a Travel Rule message:
notabene keys:createThis will generate a JSON object containing an Ed25519 key and metadata which can be passed to the Notabene SDK when creating transactions to encrypt the PII.
License
BSD 3-Clause © Notabene Inc.