Skip to content

hubcli role binding list

Lists role bindings.

The command has the following format:

hubcli role binding list [flags]

flags
One or more optional flags that provide additional control over execution of the command.

The following flags are available:

-c string or --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 by default as the default Hub instance, but a different default connection can be set using the hubcli connection use command.
--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.
-h or --help
Returns help information for this command.
--json
Returns the list of namespaces in JSON format.
--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 use command.
--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.