Create / Update Rasa Enterprise Users

Rasa Enterprise User Management Documentation

You can either create users from the UI or on the command line from within the Rasa Enterprise pod. The instructions below are for creating or updating users on the command line from within the Rasa Enterprise pod.

1. Get the Name of the Rasa Enterprise Pod:

kubectl --namespace <your namespace> get pod -l app.kubernetes.io/component=rasa-x

The output should be similar to this:

NAME                       READY   STATUS    RESTARTS   AGE
rasa-rasa-x-6dcf57bb45-jnt4f   1/1     Running   2          17h

rasa-rasa-x-6dcf57bb45-jnt4f is in our case the name of the Rasa Enterprise container.

2. Connect to the Shell of This Pod:

kubectl --namespace <your namespace> exec -it <name of the Rasa Enterprise pod> bash

3. Create a New User:

Run the following command to create a new user. Please see Role-Based Access Control for available default roles.

python scripts/manage_users.py create <username> <password> <role>

4. Update the Password of an Existing User:

To update the password of an existing user (by default, the username for the single Rasa Enterprise user is admin and its role is admin) run the following command:

python scripts/manage_users.py create --update <username> <password> <role>