Log in to portal.wandelbots.io
Synopsis
Log in to portal.wandelbots.io.
You have the option to choose between an interactive login or directly provide a refresh token for non-interactive environments like CI/CD pipelines. For wandelbots internal development purposes, you can also specify the environment to login into via --env (dev, stg, prod) flag. Each environment keeps its own login; the last one you log in to becomes the default for commands that don't target a cloud instance. Cloud instances remember their environment, and --env / NOVA_ENV override it for a single command.
Without --env, 'nova login' logs in to the current environment: NOVA_ENV, else the one of the targeted cloud instance, else the default (prod on a fresh configuration). So logging in again never switches the default to another environment.
nova login [flags]
Examples
# Login via interactive device auth flow
nova login
# Login via provided refresh token.
# To optain such a refresh token you can do "nova login" on your local machine
# and after successful login copy the token from "~/.nova/config.yaml" file.
nova login --token <your-refresh-token>
# Login into a specific environment (dev, stg, prod)
nova login --env dev
Options
-e, --env string For wandelbots internal development purposes. Environment to login into: dev, stg, prod (default: NOVA_ENV, else the targeted cloud instance's, else the current default)
-h, --help help for login
-t, --token string Provide a refreshtoken to login with. This will skip the interactive login process and will optain a new access token using the provided refresh token. This is useful for CI/CD pipelines or other non-interactive environments.
Options inherited from parent commands
--debug Write diagnostic output to stderr: HTTP requests and responses, external commands, the resolved instance. Known secrets are redacted, but bodies (app environments, kubeconfigs) can still contain some: don't share the output unreviewed (env: NOVA_DEBUG=1)
--insecure-skip-tls-verify If true, the server's certificate will not be checked for validity (disables TLS verification for all requests)
--instance string Name of the instance to work against for this invocation (overrides the selected instance; env: NOVA_INSTANCE)
SEE ALSO
- nova - CLI for interacting with Wandelbots NOVA OS
- nova login token - Prints the a valid login token.