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
The CLI requires an existing Stream Machine account, which can be created through the website.
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.
strm auth login [flags].
See Global flags for all global flags.
Print the current (JWT) access token to the terminal. Note that the token is
stdout, and the Expiry and billing-id are on
stderr so it’s easy
to capture the token for scripting use with
export token=$(strm auth access-token)
No specific flags. See Global flags.