Search

vcli session create

Create a custom session

Synopsis

Create a custom session that can be used as a long lived token/session.

vcli session create [session-id,... | -f] [flags]

Options

  -e, --expire string   Token expiration
  -h, --help            help for create
  -l, --label string    Session label to identify custom sessions
      --role int        Role ID

Options inherited from parent commands

  -c, --config string   configuration file for the CLI (default ~/.vcli.yml)
                        Could also be set via VARNISH_CONTROLLER_CLI_CONFIG=/path/to/config.yml
      --csv             Output the response table as CSV format.
  -j, --json            Output the response table as JSON format.

SEE ALSO


®Varnish Software, Wallingatan 12, 111 60 Stockholm, Organization nr. 556805-6203