In recent years, the concepts of Artificial Intelligence (AI) and Machine Learning (ML)...
3.1.8 Utilizing the GMI command line interface
- Show the GMI UID
- Authorization of IRP instance into GMI using a created in advance token
- Addition of users with desired privilege levels
# gmi-cli <command> <options> COMMAND: showID - Displays a GMI unique identifier (UID) addInstance - Addition of IRP instance addUser - Addition of GMI user with their parameters upgradeConfig - Upgrade the configuration help - print help information OPTIONS: host <hostname/IP address> - IRP instance hostname or IP address token <GMI Token> - GMI token shortName <shortname> - IRP instance shortname (optional) username <username> - User username password <password> - User password email <email> - User email address role <role> - User privileges [possible values: admin, manager, user]
For example, to add a new IRP instance:
# gmi-cli addInstance <HOSTNAME/IP ADDRESS> <GMI TOKEN> <SHORTNAME> Instance IRP at https://127.0.0.1 is being added connected to server! Response: Added instance successfully! disconnected from server
For example, to add a new GMI user:
# gmi-cli addUser <USERNAME> <PASSWORD> <EMAIL> <ROLE> addUser: IRP-ADMIN 0523a8a466 admin@example.com admin connected to server! Response: Added user successfully! disconnected from server