Skip to content

iectl iem token fetch

Creates and fetches a user specific token.

Synopsis

This method authenticates a user to the IEM using the username and password from the active configuration, then retrieves the access token.

NOTICE

The --body flag has been deprecated and will be ignored if credentials are provided in the command. In such cases, credentials from the active configuration will be used instead

iectl iem token fetch [flags]

Options

  -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 iem token fetch 

SEE ALSO