Skip to main content

auth

Handle user authentication.

auth login

Log in to Serverpod Cloud. Most scloud commands requires the CLI to be authenticated.

auth logout

Log out from Serverpod Cloud and remove stored credentials.

Usage

Manage user authentication.

Usage: scloud auth <subcommand> [arguments]
-h, --help Print this usage information.

Available subcommands:
login Log in to Serverpod cloud.
logout Log out from Serverpod Cloud and remove stored credentials.

Run "scloud help" to see global options.

See the full documentation at: https://docs.serverpod.cloud/references/cli/commands/auth

Sub commands

login

Log in to Serverpod cloud.

Usage: scloud auth login [arguments]
-h, --help Print this usage information.
-t, --timeout=<integer[us|ms|s|m|h|d]> The time to wait for the authentication to complete.
(defaults to "5m")
--[no-]persistent Store the authentication credentials.
(defaults to on)
--[no-]browser Allow CLI to open browser for logging in.
(defaults to on)

Run "scloud help" to see global options.

See the full documentation at: https://docs.serverpod.cloud/references/cli/commands/auth

logout

Log out from Serverpod Cloud and remove stored credentials.

Usage: scloud auth logout [arguments]
-h, --help Print this usage information.

Run "scloud help" to see global options.

See the full documentation at: https://docs.serverpod.cloud/references/cli/commands/auth