MindSphere CLI: 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: mc 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:

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

See MindSphere API documentation for more information about MindSphere APIs.

Further Information

The content of the community tools and libraries documentation pages is licensed under the MIT License.
Siemens API Notice applies.
Back to top