Outdated Version

You are viewing an older version of this section. View current production version.

API-TOKEN

MemSQL Ops has been deprecated

Please follow this guide to learn how to migrate to SingleStore tools.

Prints the API Token of the current agent to the console.

When this command is executed on the primary agent, the resulting API token can then be used by MemSQL Ops agents on other nodes by executing the memsql-ops follow command with the --api-token <token> argument.

Usage

usage: memsql-ops api-token

Prints the API Token of the current agent to the console.