The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Terms of Use and Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content
Industrial IoT Open Source Tools and Libraries

Demo applications, libraries and SDKs as well as useful connectivity tools which are maintained and released as open source software.

mdsp identity-management Command¶

Syntax:

mdsp identity-management

Help:

mdsp identity-management --help

Alternative form:

mc identity-management

(The CLI was using mc as default command name in older versions)

Description¶

manage Insights Hub users, groups and roles *

Usage¶

Parameter list:

Usage: mdsp identity-management|iam [options]

manage Insights Hub users, groups and roles *

Options:
 -m, --mode [list|create|assign|remove|delete|info] Mode can be list | create | assign | remove | delete | info (default: "list")
 -u, --user [user] user name
 -g, --group [group] user group
 -r, --role [role] user role
 -s, --subtenant subtenant for user
 -m, --membergroup [membergroup] member group
 -l, --memberrole [memberrole] member role
 -t, --meta include meta information (ids, login details etc.)
 -w, --raw don't automatically preceed group names with mdsp_usergroup or role with mdsp_customrole
 -k, --passkey passkey
 -v, --verbose verbose output
 -h, --help display help for command

Examples¶

Here are some examples of how to use the mdsp identity-management command:

 Example:

 mdsp iam --mode list --user list all users
 mdsp iam --mode list --user [user] list all users which contain [user] in the login name
 mdsp iam --mode list --group list all groups
 mdsp iam --mode list --group [group] list all groups which contain [group] in the name
 mdsp iam --mode list --role list all roles
 mdsp iam --mode list --role [role] list all roles which contain [role] in the name

 mdsp iam --mode info --user [user] --meta get all infos about users which contain [user] in the login name
 mdsp iam --mode info --group [group] --meta get all infos about groups which contain [group] in the name
 mdsp iam --mode info --role [role] --meta get all infos about roles which contain [role] in the name

 mdsp iam --mode create|delete --user create or delete user
 mdsp iam --mode create|delete --group create or delete group
 mdsp iam --mode create|delete --role create or delete role
 mdsp iam --mode create --user --subtenant subtenant create user in specified subtenant

 mdsp iam --mode assign --user --group assign user to user group group
 mdsp iam --mode assign --user --role assign role to user user
 mdsp iam --mode assign --user --group assign user to user group group
 mdsp iam --mode assign --group --membergroup assign membergroup to user group group
 mdsp iam --mode assign --group --role assign role to user group group
 mdsp iam --mode assign --role --memberrole assign member role to custom role role

 mdsp iam --mode remove --user --group remove user from user group group
 mdsp iam --mode remove --user --role remove role from user user
 mdsp iam --mode remove --user --group remove user from user group group
 mdsp iam --mode remove --group --membergroup remove membergroup from user group group
 mdsp iam --mode remove --group --role remove role from user group group
 mdsp iam --mode remove --role --memberrole remove member role from custom role role

See Insights Hub API documentation for more information about Insights Hub APIs.