Skip to content

iectl ied token fetch

Creates and fetches a user specific token

Synopsis

This method logs in a user to the edge management with the username, password, and verification code ( if multi- factor verification is enabled ).

iectl ied token fetch [flags]

Options

      --body string   The map of login credentials, including username, password and verificationCode (optional). Example: {"username":"my user","password":"my password"}
  -d, --data string   use this flag for passing data via json or as datafile with @filename
  -h, --help          help for fetch

Options inherited from parent commands

  -o, --output string   output format
  -q, --query string    query on result of object
  -v, --verbose         verbose output

Example

iectl  ied token fetch  --body "{\"username\":\"email\",\"password\":\"password\"}"     

SEE ALSO