To access and use IE Hub commands, you must first add an IE Hub configuration. To add an IE Hub configuration, use the following command:
$ iectl config add iehub \
--name "configname" \ # name of the configuration being added in lower case
--url "https://iehub.eu1-int.edge.siemens.cloud/" \ # URL of IEHUB on which you want perform operations. Provide URL without organization name, e.g.: https://iehub.eu1.edge.siemens.cloud
--user "user_email_address" \ # accepts email address used for IEHUB login
--password "password" \ # password for IEHUB CLI user
Alternatively, you can add an IE Hub configuration by using the following command with the --password-stdin flag:
$ iectl config add iehub \
--name "configname" \ # name of the configuration being added in lower case
--url "https://iehub.eu1-int.edge.siemens.cloud/" \ # URL of IEHUB on which you want perform operations. Provide URL without organization name, e.g.: https://iehub.eu1.edge.siemens.cloud
--user "user_email_address" \ # accepts email address used for IEHUB login
--password-stdin \ # set password from stdin for login