Name:
   token

Description:
    read out the CLI access token

Usage:
    sama token [flags]

Flags:
    -h, --help   help for token

When you log in to the Sama CLI and you authenticate yourself, you get a token.

After running the sama token command, you will get information about your token:

  • The expiration date
  • A string with the current token

Make sure you're logged in. Otherwise, you are going to get an error message:

If you are encountering this problem, just run sama login first