Skip to content

CLI

Declarative

Users can use RCTL to add IDP user(s) to the IDP Group(s) and view the list of groups

Add Users to Group(s)

Use the following command to add IDP user(s) to one or more IDP Groups

./rctl update group-override-idpuser --user <user-name> group1 group2

Get Group(s)

Use the following command to get the list of Managed and IDP Groups

./rctl get group-override-idpuser <user-name>

Example Output

+-----------------------+-------------------+
| MANAGED GROUPS        | IDP GROUPS        |
+-----------------------+-------------------+
| walmart, test_nishant | Everyone, walmart |
+-----------------------+-------------------+

Get SSO User(s)

To get the list of all SSO users details, use the below command

./rctl get ssousers

Example Output

+---------------------+--------------------------------+
| NAME                | PROJECTS                       |
+---------------------+--------------------------------+
| [email protected] | defaultproject, testproject, |
|                     | demo-project                  |
+---------------------+--------------------------------+
| [email protected]    | defaultproject                 |
+---------------------+--------------------------------+

To view a single SSO user details, use the below command

./rctl get ssousers <user-name>

Example output

+-------------------------+----------------+
| NAME                    | PROJECTS       |
+-------------------------+----------------+
| [email protected] | defaultproject |
+-------------------------+----------------+