hubcli role binding add¶
Adds a role binding to a user or group.
The command has the following format:
hubcli role binding add [flags]
where:
- flags
- One or more optional flags that provide additional control over execution of the command.
The following flags are available:
-c stringor--connection string- Specifies the name of the connection to use.
If you do not specify this option, then the default connection is used.
If there is no default connection, then you must specify a connection.
The first connection created for the Altair SLC Hub instance is set to the default connection,
but a different default connection can be set using the
hubcli connection usecommand. --debug- Enables debug logging.
--group name- Specifies the name of the group to which the role specified by role is bound. The group must already exist.
-hor--help- Returns help information for this command.
--namespace name- Restricts bindings to the namespace specified by name. If you do not specify this option, then the default namespace is used,
if a default is available. A default namespace for the current connection is created using the
hubcli namespace usecommand. --role name- Specifies the name of the role to bind to the user or group. The role must already exist.
--user name- Specifies the name of the user to which a role specified by role is bound. The user must already exist.