kalix auth tokens create

Create a Kalix token.


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

kalix auth tokens create [flags]


$ kalix 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, container_registry, execution, organizations, projects, user (default [execution])
      --type string          The type of token. Valid types are refresh and access. (default "refresh")

Options inherited from parent commands

      --cache-file string   location of cache file (default "~/.kalix/cache.yaml")
      --config string       location of config file (default "~/.kalix/config.yaml")
      --context string      configuration context to use
      --disable-prompt      Disable all interactive prompts when running kalix commands. If input is required, defaults will be used, or an error will be raised.
                            This is equivalent to setting the environment variable KALIX_DISABLE_PROMPTS to true.
  -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)
      --use-grpc-web        use grpc-web when talking to Kalix APIs. This is useful when behind corporate firewalls that decrypt traffic but don't support HTTP/2.
  -v, --verbose             set verbose output