Für den Zugriff und die Verwendung von IE Hub-Befehlen muss zuerst eine IE Hub-Konfiguration hinzugefügt werden. Verwenden Sie den folgenden Befehl, um eine IE Hub-Konfiguration hinzuzufügen:
$ 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 hub 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
Alternativ können Sie eine IE Hub-Konfiguration hinzufügen, indem Sie den folgenden Befehl mit dem Flag --password-stdin verwenden:
$ 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 hub 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