akkasls services jwts generate

Generate a JWT for a service.

Synopsis

The akkasls service jwt generate command generates a JWT and adds it to a service.

akkasls services jwts generate [SERVICE] [flags]

Examples

> akkasls services jwt generate my-service --key-id my-key
  --issuer my-issuer-name --algorithm HS256

Options

      --algorithm string   The JWT algorithm to use, use akkasls service jwt list-algorithms to list supported algorithms.
  -h, --help               help for generate
      --issuer string      The name of the issuer to validate/sign messages for.
      --key-id string      A unique key id.
      --owner string       the owner of the project to use, needed if you have two projects with the same name from different owners
      --project string     project to use if not using the default configured project

Options inherited from parent commands

      --config string      location of config file (default "~/.akkaserverless/config.yaml")
      --context string     configuration context to use
      --disable-prompt
                           Disable all interactive prompts when running akkasls commands. If input is required, defaults will be used, or an error will be raised.
                           This is equivalent to setting the environment variable AKKASLS_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)
  -v, --verbose            set verbose output

SEE ALSO