iectl iem 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 ). Example: '{"username":"myuser", "password":"mypassword"}'
iectl iem token fetch [flags]
Options¶
--body string The map of login credentials, including username, password and verificationCode (optional)
-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 --body "{\"username\":\"email\",\"password\":\"password\"}"
SEE ALSO¶
- iectl iem token - iem token related commands