auth

The global auth command is used for authenticating the CLI with Stream Machine so it can use the API.

The Stream Machine API requires a JSON Web Token (JWT), which is created by the login subcommand.

The CLI requires an existing Stream Machine account, which can be created through the website.

login

Log a user in using its Portal credentials and save the login token to disk, to allow the CLI access to the Stream Machine APIs.

Usage

strm auth login [email] [flags].

Options

Option Description

email

The email address for this user.

Flags

Flag Alias Description

See Global flags for all global flags.

access-token

Print the current (JWT) access token to the terminal.

Usage

strm auth access-token [flags].

Options

No options

Flags

No specific flags. See Global flags.

refresh

Refresh the (JWT) access token with a new one. The CLI does this automatically, so in normal circumstances this should not be needed.

Usage

strm auth refresh [flags].

Options

No options

Flags

No specific flags. See Global flags.