Skip to content

mdsp service-token Command

Syntax:

mdsp service-token

Help:

mdsp service-token --help

Alternative form:

mc service-token

(The CLI was using mc as default command name in older versions)

Description

displays the service token for use in other tools (e.g. postman) *

Usage

Parameter list:

Usage: mdsp service-token|stk [options]

displays the service token for use in other tools (e.g. postman) *

Options:
 -k, --passkey passkey
 -y, --retry retry attempts before giving up (default: "3")
 -v, --verbose verbose output
 -h, --help display help for command

Examples

Here are some examples of how to use the mdsp service-token command:

 Examples:

 mdsp service-token --passkey mypasskey displays the service token (encoded only)
 mdsp service-token --passkey mypasskey --verbose displays the service token (encoded and decoded)

See Insights Hub API documentation for more information about Insights Hub APIs.