akkasls auth tokens create

Create an Akka Serverless token.


This command allows you to create a refresh token that can be used to authenticate another akkasls command instance on another machine.

akkasls auth tokens create [flags]


$ akkasls auth tokens create --type=refresh --scopes=all --description="Token for use by CI/CD system"
Token created: 0123456789abcdef0123456789abcdef0123456789abcdef


      --description string   A description of the token. If the token is a refresh token, this will be stored with the token for reference.
  -h, --help                 help for create
      --scopes stringArray   The scopes for the token. Valid scopes are: all, projects, user, execution (default [execution])
      --type string          The type of token. Valid types are refresh and access. (default "refresh")

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