To onboard an IEM, you must first add the IE Hub configuration. To add the IE Hub configuration, use the following command:
$ cat ~/my_password.txt | iectl config add iehub \
--name "configname" \ # name of the configuration being added in lower case
--url "https://iehub.eu1.edge.siemens.cloud/" \ # Url of IEHUB on which you want to perform operations
--user "email_address" \ # email address used for IE Hub login
--password "password" # password of the IEHUB user
NOTICE
We recommend using the `--password-stdin` option instead of `--password`, as it allows you to securely pass a password to a command through standard input (stdin) rather than typing it directly in the command. This prevents the password from being exposed in shell history or process lists, enhancing security. For more information, refer to the guide: ["How to use --password-stdin"](./password-stdin.md).