akkasls auth login

Log in to Akka Serverless.


Typing akkasls auth login launches your web browser and takes you to the proper URL to enter your credentials. The command-line client will print "Waiting for UI login…​" and pause while this happens, and then resume with a message once it receives the authorization token from the Akka Serverless server.

If successfully authenticated, and if you already have a single project, the current project will be set to the active one.

Hint: You may use akkasls auth login --no-launch-browser to make the command-line client display the URL you should go to in order to do the authorization, rather than try to launch the browser itself. You can use this if, for some reason, the command-line client is unable to launch your browser for you.

akkasls auth login [flags]


  -h, --help                help for login
      --no-launch-browser   If set, the CLI will just print the URL to authorize the login to standard output, rather than launching the URL in a browser.

Options inherited from parent commands

      --config string      location of config file (default "~/.akkaserverless/config.yaml")
      --context string     configuration context to use
  -o, --output string      set output format to one of [text,json,gotemplate=] (default "text")
  -q, --quiet              set quiet output (helpful when used as part of a script)
      --timeout duration   client command timeout (default 10s)
  -v, --verbose            set verbose output